1 | import { __ApiPreviewProps } from '../next-server/server/api-utils';
|
2 | import { LoadedEnvFiles } from '@next/env';
|
3 | import { NextConfig } from '../next-server/server/config';
|
4 | declare type PagesMapping = {
|
5 | [page: string]: string;
|
6 | };
|
7 | export declare function createPagesMapping(pagePaths: string[], extensions: string[]): PagesMapping;
|
8 | export declare type WebpackEntrypoints = {
|
9 | [bundle: string]: string | string[] | {
|
10 | import: string | string[];
|
11 | dependOn?: string | string[];
|
12 | };
|
13 | };
|
14 | declare type Entrypoints = {
|
15 | client: WebpackEntrypoints;
|
16 | server: WebpackEntrypoints;
|
17 | };
|
18 | export declare function createEntrypoints(pages: PagesMapping, target: 'server' | 'serverless' | 'experimental-serverless-trace', buildId: string, previewMode: __ApiPreviewProps, config: NextConfig, loadedEnvFiles: LoadedEnvFiles): Entrypoints;
|
19 | export {};
|