declare function appendSupervisorLog(message: string): Promise; declare function supervisorWarn(message: string): void; /** * Wire up the supervisor-liveness watchdog for a spawned worker child. * * Returns a `stop()` function the supervisor must call when the child * exits (cleanly or via SIGKILL). Returns a no-op if: * - The env gate is disabled (`DKG_SUPERVISOR_LIVENESS_PROBE=off`). * * Wraps the apiPort-read in a polling loop because the worker writes the * port file midway through boot, AFTER spawn returns. The loop stays alive * until the supervisor stops it; slow boots must still get liveness * protection once their HTTP listener is ready. */ declare function maybeStartSupervisorLivenessWatcher(child: { kill(signal: 'SIGKILL'): boolean; }): Promise<() => void>; declare function runDaemonSupervisor(): Promise; declare function runForegroundSupervisor(childEnv?: NodeJS.ProcessEnv): Promise; export { appendSupervisorLog, supervisorWarn, maybeStartSupervisorLivenessWatcher, runDaemonSupervisor, runForegroundSupervisor, }; //# sourceMappingURL=cli-supervisor.d.ts.map