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
+37
View File
@@ -0,0 +1,37 @@
import type { NextConfigComplete } from '../config-shared';
import '../require-hook';
import '../node-environment';
import type { StaticPathsResult } from '../../build/static-paths/types';
import type { IncrementalCache } from '../lib/incremental-cache';
import { type ExperimentalPPRConfig } from '../lib/experimental/ppr';
type RuntimeConfig = {
pprConfig: ExperimentalPPRConfig | undefined;
partialFallbacks: boolean;
configFileName: string;
cacheComponents: boolean;
};
export declare function loadStaticPaths({ dir, distDir, pathname, config, httpAgentOptions, locales, defaultLocale, isAppPath, page, isrFlushToDisk, fetchCacheKeyPrefix, cacheMaxMemorySize, requestHeaders, cacheHandler, cacheHandlers, cacheLifeProfiles, nextConfigOutput, buildId, authInterrupts, sriEnabled, }: {
dir: string;
distDir: string;
pathname: string;
config: RuntimeConfig;
httpAgentOptions: NextConfigComplete['httpAgentOptions'];
locales?: readonly string[];
defaultLocale?: string;
isAppPath: boolean;
page: string;
isrFlushToDisk?: boolean;
fetchCacheKeyPrefix?: string;
cacheMaxMemorySize: number;
requestHeaders: IncrementalCache['requestHeaders'];
cacheHandler?: string;
cacheHandlers?: NextConfigComplete['cacheHandlers'];
cacheLifeProfiles?: {
[profile: string]: import('../../server/use-cache/cache-life').CacheLife;
};
nextConfigOutput: 'standalone' | 'export' | undefined;
buildId: string;
authInterrupts: boolean;
sriEnabled: boolean;
}): Promise<StaticPathsResult>;
export {};