import { type CanonSyncOptions, type CanonSyncResult } from './canonSync.js'; export interface CanonWatchOptions extends CanonSyncOptions { /** Debounce window before a sync fires after the last change (default 60s). */ debounceMs?: number; /** Abort to stop watching (a SIGINT handler wires this). */ signal?: AbortSignal; /** Called after each auto-sync (CLI logging). */ onSync?: (result: CanonSyncResult) => void; /** Called once per watched root at startup (CLI logging). */ onWatch?: (root: string) => void; } /** * Watch every declared harness session root and auto-sync (debounced) on change. * Runs until `options.signal` aborts. An initial catch-up sync is scheduled at * startup so anything accumulated while the watcher was down is captured. */ export declare function canonWatch(options?: CanonWatchOptions): Promise; //# sourceMappingURL=canonWatch.d.ts.map