import { watch } from 'chokidar';
import type { EventRouter } from '../../events/event-router.js';
export interface FileWatcherOptions {
    root: string;
    ignored?: Array<string | RegExp>;
    usePolling?: boolean;
    pollingInterval?: number;
    /** @internal Test-only: inject a fake chokidar watch factory. */
    _watchFn?: typeof watch;
}
export declare class FileWatcherSource {
    private readonly router;
    private readonly options;
    private watcher;
    constructor(router: EventRouter, options: FileWatcherOptions);
    start(): Promise<void>;
    stop(): Promise<void>;
    private emit;
}
//# sourceMappingURL=file-watcher.d.ts.map