export interface LocalWorkerProcessOwner { pid: number; instanceId: string; } export type LocalWorkerProcessOwnerLiveness = "live" | "dead" | "unknown"; /** Process liveness probe shared by lifecycle and reservation recovery. Permission denial means live. */ export declare function isLocalProcessAlive(pid: number): boolean; /** Create the durable identity for one local pi worker process instance. */ export declare function createLocalWorkerProcessOwnerId(pid: number, instanceId: string): string; /** Parse only a complete, bounded pi-owned process identity. Unknown owner schemes remain untrusted. */ export declare function parseLocalWorkerProcessOwnerId(ownerId: string): LocalWorkerProcessOwner | undefined; /** * Resolve a local owner exactly once through the caller's liveness seam. Invalid identities and * liveness probe failures stay unknown so recovery cannot steal a potentially active worker. */ export declare function localWorkerProcessOwnerLiveness(ownerId: string, isProcessAlive: (pid: number) => boolean): LocalWorkerProcessOwnerLiveness; export declare function isLocalWorkerProcessOwnerProvenDead(ownerId: string, isProcessAlive: (pid: number) => boolean): boolean; //# sourceMappingURL=worker-process-owner.d.ts.map