/** * Coverage liveness for the scoped native watcher. * * OS watches follow inodes (Linux inotify) or can go silent after a path is * replaced (macOS FSEvents). `reconcileCoverage` only runs when the kernel * delivers a rename. If the HQ root — or a watched folder — is moved or * swapped with no event, `watched-paths` stays stable while the tree is gone. * A periodic identity probe is the only way to notice that. */ export type WatchCoverageFailureReason = "root-missing" | "root-replaced" | "watch-stale"; export type WatchCoverageProbeResult = { ok: true; } | { ok: false; reason: WatchCoverageFailureReason; staleWatches: number; }; export declare function directoryIdentityAt(absolutePath: string): string | undefined; export declare function probeScopedWatchCoverage(input: { root: string; identities: Iterable; directoryIdentity: (absolutePath: string) => string | undefined; }): WatchCoverageProbeResult; //# sourceMappingURL=watch-coverage.d.ts.map