import type { Compiler, Stats } from 'webpack'; import { BaseCompilerWatching } from './base-compiler-watching.js'; export declare class CompilerWatching extends BaseCompilerWatching { private readonly compiler; constructor(compiler: Compiler); private ready; waitUntilValid: (callback?: (stats?: Stats) => void) => void; } /** * Creates a new instance of CompilerWatching with the given compiler. * @param compiler - The compiler instance to be watched. * @returns A new instance of CompilerWatcher. */ export declare const createCompilerWatching: (compiler: Compiler) => CompilerWatching;