This commit is contained in:
Kismet Hasanaj
2026-05-02 20:07:02 +02:00
parent ce8672e283
commit 34dc9aec52
9428 changed files with 1733330 additions and 0 deletions
@@ -0,0 +1,13 @@
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 {};