/** * Passive registry of live harness child process groups. Every * `spawnProcess` child registers on spawn and unregisters on close; the * daemon snapshots the registry into a pids file so a crashed/killed daemon * can REAP surviving orphans on the next start (children live in their own * process groups by design, so they outlive the daemon). Purely * observational: adapters gain no orchestration behavior. */ import { type ProcessGroupHandle } from "./process-group.js"; interface LiveChildProcess { pid: number; cmd: string; processGroup: ProcessGroupHandle; } export declare function registerChildProcess(pid: number, cmd: string): void; export declare function unregisterChildProcess(pid: number): void; /** Snapshot of children whose exact kernel process-group identity was captured. */ export declare function liveChildProcesses(): LiveChildProcess[]; export {}; //# sourceMappingURL=process-registry.d.ts.map