import { AbstractWatcher } from './AbstractWatcher'; import { FileWatcherConfig } from './FileWatcherConfig'; /** * A file watcher */ export declare class FileWatcher extends AbstractWatcher { /** * Watched path */ private readonly path; /** * Whether or not the watcher is recursive */ private readonly recursive; /** * Create a new file watcher * * @param config Config for the file watcher */ constructor(config: FileWatcherConfig); isValid(): Promise; start(): Promise; stop(): Promise; }