import type { Compilation, Compiler } from '@rspack/core'; export declare function pushCompilationError(compiler: Compiler, compilation: Compilation, name: string, message: string, file?: string): void;