export interface WatchdogOptions { /** Health check interval in ms (default: 30000 = 30s) */ intervalMs?: number; /** Health check timeout in ms (default: 10000 = 10s) */ timeoutMs?: number; /** Consecutive failures before triggering onDead (default: 6) */ maxFailures?: number; /** Grace period before starting checks in ms (default: 60000 = 60s) */ startDelayMs?: number; } export declare function startWatchdog(healthUrl: string, onDead: () => void | Promise, options?: WatchdogOptions): () => void;