import { ChokidarOptions, MatchFunction } from "chokidar"; import { FileScanOptions } from "./scan.ts"; export interface FileWatchOptions extends Omit, Omit { ignore?: string | string[] | MatchFunction | MatchFunction[]; } /** * Watches files and directories for real-time changes, applying the shared * ignore groups so it prunes the same paths {@link findFiles} skips for the * same patterns. */ export declare function watchFiles(paths: string | string[], options?: FileWatchOptions): import("chokidar").FSWatcher;