securityos/node_modules/next/dist/build/collect-build-traces.d.ts

20 lines
768 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import { Span } from '../trace';
import type { NextConfigComplete } from '../server/config-shared';
import { type BuildTraceContext } from './webpack/plugins/next-trace-entrypoints-plugin';
import type { PageInfo } from './utils';
export declare function collectBuildTraces({ dir, config, distDir, pageKeys, pageInfos, staticPages, nextBuildSpan, hasSsrAmpPages, buildTraceContext, outputFileTracingRoot, }: {
dir: string;
distDir: string;
pageKeys: {
app?: string[];
pages: string[];
};
staticPages: string[];
hasSsrAmpPages: boolean;
outputFileTracingRoot: string;
pageInfos: [string, PageInfo][];
nextBuildSpan?: Span;
config: NextConfigComplete;
buildTraceContext?: BuildTraceContext;
}): Promise<void>;