UNPKG

450 BTypeScriptView Raw
1/// <reference types="node" />
2import '../next-server/server/node-polyfill-fetch';
3declare type RuntimeConfig = any;
4export declare function loadStaticPaths(distDir: string, pathname: string, serverless: boolean, config: RuntimeConfig, locales?: string[], defaultLocale?: string): Promise<Omit<import("../types").GetStaticPathsResult<import("querystring").ParsedUrlQuery>, "paths"> & {
5 paths: string[];
6 encodedPaths: string[];
7}>;
8export {};