UNPKG

862 BTypeScriptView Raw
1import { __ApiPreviewProps } from '../next-server/server/api-utils';
2import '../next-server/server/node-polyfill-fetch';
3export declare type SsgRoute = {
4 initialRevalidateSeconds: number | false;
5 srcRoute: string | null;
6 dataRoute: string;
7};
8export declare type DynamicSsgRoute = {
9 routeRegex: string;
10 fallback: string | null | false;
11 dataRoute: string;
12 dataRouteRegex: string;
13};
14export declare type PrerenderManifest = {
15 version: 3;
16 routes: {
17 [route: string]: SsgRoute;
18 };
19 dynamicRoutes: {
20 [route: string]: DynamicSsgRoute;
21 };
22 notFoundRoutes: string[];
23 preview: __ApiPreviewProps;
24};
25export default function build(dir: string, conf?: null, reactProductionProfiling?: boolean, debugOutput?: boolean, runLint?: boolean): Promise<void>;
26export declare type ClientSsgManifest = Set<string>;