import type { ChildProcess } from 'node:child_process'; export interface OwnedChildLifecycle { readonly exited: Promise; readonly failed: boolean; readonly stopped: boolean; stop(options?: { verify?: () => Promise; graceMs?: number; }): Promise; } /** Capture immediately after this caller's spawn. Never adopt a raw PID. */ export declare function watchOwnedChild(child: ChildProcess): OwnedChildLifecycle; //# sourceMappingURL=ownedChildLifecycle.d.ts.map