static-paths-worker.d.ts 664 B

12345678910111213141516171819
  1. import type { NextConfigComplete } from '../config-shared';
  2. import '../node-polyfill-fetch';
  3. declare type RuntimeConfig = any;
  4. export declare function loadStaticPaths({ distDir, pathname, serverless, config, httpAgentOptions, locales, defaultLocale, isAppPath, originalAppPath, }: {
  5. distDir: string;
  6. pathname: string;
  7. serverless: boolean;
  8. config: RuntimeConfig;
  9. httpAgentOptions: NextConfigComplete['httpAgentOptions'];
  10. locales?: string[];
  11. defaultLocale?: string;
  12. isAppPath?: boolean;
  13. originalAppPath?: string;
  14. }): Promise<{
  15. paths?: string[];
  16. encodedPaths?: string[];
  17. fallback?: boolean | 'blocking';
  18. }>;
  19. export {};