import { Compiler, WebpackPluginInstance } from 'webpack'; import type { Reporter } from './reporters-interface'; /** * BuildStats Plugin Options */ export interface BuildStatsPluginOptions { /** The minimum time in milliseconds, for timing to be included in stats */ threshold?: number; /** The name of the application */ appName: string; /** The reporters to use */ reporters: Reporter[]; /** Session ID to identify the current run */ sessionId: string; } export declare class BuildStatsPlugin implements WebpackPluginInstance { private readonly options; private timingData; private pluginDurations; private loaderDurations; constructor(options?: BuildStatsPluginOptions); private bindCompilerCallbacks; private interceptAllParserHooks; private interceptAllHooksFor; private interceptAllJavascriptModulesPluginHooks; private filterTimingsForThreshold; private resetStats; private makeNewProfiledTapFn; private readonly makeInterceptorFor; private recordPluginEnd; private recordPluginStart; private getLoaderName; private reportData; /** @inheritdoc */ apply(compiler: Compiler): void; } //# sourceMappingURL=build-stats-plugin.d.ts.map