export interface DaemonOwnerRecord { pid: number; socketPath: string; claimedAt: number; } export declare function getOwnerFilePath(socketPath: string): string; export declare function isPidAlive(pid: number): boolean; export declare function readOwnerRecord(ownerFile: string): DaemonOwnerRecord | null; export declare function writeOwnerRecord(ownerFile: string, record: DaemonOwnerRecord): void; export declare function removeOwnerRecord(ownerFile: string, pid?: number): boolean; export declare function waitForPidExit(pid: number, timeoutMs: number): Promise; //# sourceMappingURL=ownership.d.ts.map