export type Unsubscribe = () => void; /** * Watch a directory tree for changes with a polling fallback. `onChange` is * debounced so bursts of writes trigger one refresh. */ export declare function watchRunsDir(dir: string, onChange: () => void, options?: { pollMs?: number; debounceMs?: number; }): Unsubscribe;