import type { Compiler } from '@rspack/core'; export declare function setupCompilerLifecycleHooks(compiler: Compiler): void; export interface FirstDoneStats { hasErrors(): boolean; compilation?: object; } interface DoneHookHost { hooks: { done: { tap(name: string, fn: (stats: FirstDoneStats) => void): void; }; }; } export declare function setupNoBrowserBannerOnFirstDone(opts: { compiler: DoneHookHost; browser: string; manifestPath: string; readyPath: string; distPath?: string; }): void; export {};