/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */ import type { WatcherRecord } from '../../store/domains/watchers.js'; import type { ProcessNode } from '../types.js'; /** * WatcherRecord → ProcessNode. WatcherRegistry.list() already normalizes each * record through its sourceStatusFor derivation (healthy/lagging/stale/ * failed), so the mapping here reads the post-derivation state: * running → 'idle' (alive, armed between checks), starting → 'queued', * degraded → 'stalled' (heartbeat lagging/stale is the watcher-shaped stall), * failed → 'failed', stopped → 'killed'. */ export declare function adaptWatcher(record: WatcherRecord, now: number): ProcessNode; //# sourceMappingURL=watcher.d.ts.map