import { EventEmitter } from 'node:events';
export declare class RootConfigWatcher extends EventEmitter {
    #private;
    ready: Promise<any[]>;
    constructor();
    _simulateWatcherErrorForTests(error: unknown): void;
    get _usingPollingForTests(): boolean;
    get _openCountForTests(): number;
    handleError(error: unknown): void;
    handleChange(): void;
    close(): this;
    get config(): any;
}
