import { IgnoreFn } from "./folder-sync-ignore.mjs"; export type FolderSyncWatcherOptions = { rootPath: string; log?: (level: 'debug' | 'info' | 'warn' | 'error', msg: string) => void; ignoreFn: IgnoreFn; onChange: (reason: string) => void; }; type WatcherHandle = { close: () => void; }; /** * Watch a folder tree for changes. Uses recursive watch when supported (macOS), * otherwise falls back to watching each directory. * * Returns a handle that can be closed to stop watching. */ export declare function watchFolderTree(opts: FolderSyncWatcherOptions): Promise; export {}; //# sourceMappingURL=folder-sync-watcher.d.mts.map