import { Stats } from "node:fs"; import { EventEmitter } from "node:events"; import { Readable } from "node:stream"; type AWF = { stabilityThreshold: number; pollInterval: number; }; type WatchBackend = 'auto' | 'native' | 'native-recursive' | 'polling'; type MatcherObject = { path: string; recursive?: boolean; }; type MatchFunction = (val: string, stats?: Stats) => boolean; type Matcher = string | RegExp | MatchFunction | MatcherObject; type BasicOptions = { persistent: boolean; ignoreInitial: boolean; followSymlinks: boolean; cwd?: string; backend: WatchBackend; /** @deprecated Use `backend: 'polling'` instead. */ usePolling: boolean; pollingInterval: number; pollingBinaryInterval: number; /** @deprecated Use `pollingInterval` instead. */ interval: number; /** @deprecated Use `pollingBinaryInterval` instead. */ binaryInterval: number; alwaysStat?: boolean; depth?: number; ignorePermissionErrors: boolean; atomic: boolean | number; }; export type ChokidarOptions = Partial; }>; export {};