This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/server/app-render/instant-validation/instant-config.d.ts
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

14 lines
897 B
TypeScript

import type { LoaderTree } from '../../lib/app-dir-module';
import type { AppSegmentConfig, InstantSample } from '../../../build/segment-config/app/app-segment-config';
export declare function anySegmentHasRuntimePrefetchEnabled(tree: LoaderTree): Promise<boolean>;
export declare function isPageAllowedToBlock(tree: LoaderTree): Promise<boolean>;
type FoundSegmentWithConfig = {
path: string[];
config: NonNullable<AppSegmentConfig['unstable_instant']>;
};
export declare const anySegmentNeedsInstantValidationInDev: (arg: LoaderTree) => Promise<boolean>;
export declare const anySegmentNeedsInstantValidationInBuild: (arg: LoaderTree) => Promise<boolean>;
export declare const findSegmentsWithInstantConfig: (arg: LoaderTree) => Promise<FoundSegmentWithConfig[]>;
export declare const resolveInstantConfigSamplesForPage: (tree: LoaderTree) => Promise<InstantSample[] | null>;
export {};