export interface ProcessIdentity { pid: number; /** Linux /proc stat start time; prevents a reused PID matching the snapshot. */ startTime: string; } /** Snapshot one root and all descendants by real PPID ancestry, never argv. */ export declare function snapshotProcessTree(rootPid: number): ProcessIdentity[]; export declare function isProcessIdentityAlive(identity: ProcessIdentity): boolean; export declare function waitForProcessTreeExit(identities: readonly ProcessIdentity[], timeoutMs?: number): Promise; /** Synchronous twin used by the synchronous manual-GC teardown path. */ export declare function waitForProcessTreeExitSync(identities: readonly ProcessIdentity[], timeoutMs?: number): boolean; //# sourceMappingURL=process-tree.d.ts.map