/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import type * as Webpack from "webpack"; import type { BundleBuddyConfig, BundleMetricSet, WebpackStatsProcessor } from "../BundleBuddyTypes"; /** * Runs a set of stats file processors in order on a given webpack stats file to produce metrics. * @param bundleName - A friendly name of the bundle being processed, used for error handling * @param stats - The webpack stats file being processed * @param config - An optional bundle specific configuration for specifying custom metrics * @param statsProcessors - The set of processors to run on this bundle */ export declare function runProcessorsOnStatsFile(bundleName: string, stats: Webpack.StatsCompilation, config: BundleBuddyConfig | undefined, statsProcessors: WebpackStatsProcessor[]): BundleMetricSet; //# sourceMappingURL=runProcessorOnStatsFile.d.ts.map