import type { Stats } from '@rspack/core'; import type { NormalizedBrowser } from '../lib/paths.js'; export declare function reportFailedCompile(input: { stats: Stats; stagingDistPath: string; packageJsonDir: string; browser: NormalizedBrowser; handleStatsErrors: (stats: Stats) => void; }): { failure: Error; failureWarnings: string[] | undefined; };