UNPKG

390 BTypeScriptView Raw
1import { BuildArgs } from "../index";
2export interface Params {
3 [param: string]: string | string[];
4}
5export declare type StaticPath<P extends Params = Params> = string | {
6 params: P;
7 meta?: any;
8};
9export interface StaticPropsContext<P extends Params = Params> {
10 path: string;
11 params: P;
12 meta?: any;
13}
14export declare function build(args: BuildArgs): Promise<void>;