import { FileType, TargetEvent } from './enums'; import LazyMapSet from './lazy_map_set'; import WatcherStats from './watcher_stats'; import type { INO, Path } from './types'; declare class WatcherPoller { inos: Partial>>; paths: LazyMapSet; stats: Map; getIno(targetPath: Path, event: TargetEvent, type?: FileType): INO | undefined; getStats(targetPath: Path): WatcherStats | undefined; poll(targetPath: Path, timeout?: number): Promise; reset(): void; update(targetPath: Path, timeout?: number): Promise; updateIno(targetPath: Path, event: TargetEvent, stats: WatcherStats): void; updateStats(targetPath: Path, stats?: WatcherStats): void; } export default WatcherPoller;