20 lines
768 B
TypeScript
20 lines
768 B
TypeScript
|
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>;
|