type OwnedChild = { readonly pid: number; readonly exitCode: number | null; readonly signalCode: string | number | null; kill(signal: "SIGKILL"): unknown; }; type GroupSignal = (pid: number, signal: "SIGKILL" | 0) => unknown; /** Capture identity immediately after spawn; Bun may change pid after reaping. */ export declare function capturePreparationProcess(child: OwnedChild, platform?: NodeJS.Platform, signalGroup?: GroupSignal): { kill(): void; groupExited(): boolean | undefined; }; export {};