import { z } from "zod"; export declare const PidRecordSchema: z.ZodObject<{ pid: z.ZodNumber; startedAt: z.ZodString; hostname: z.ZodString; workspaceRoot: z.ZodString; }, "strict", z.ZodTypeAny, { workspaceRoot: string; startedAt: string; pid: number; hostname: string; }, { workspaceRoot: string; startedAt: string; pid: number; hostname: string; }>; export type PidRecord = z.infer; export interface PidFileLock { readonly record: PidRecord; readonly path: string; release(): Promise; } export type PidLiveness = "alive" | "dead" | "foreign-host" | "indeterminate"; export declare function classifyPidLiveness(record: PidRecord, hostname?: string): PidLiveness; export declare class PidFileBusyError extends Error { readonly record: PidRecord; readonly filePath: string; constructor(record: PidRecord, filePath: string); } export declare function acquirePidFile(workspaceRoot: string): Promise; export declare function readPidRecord(workspaceRoot: string): Promise; export declare function readPidFile(workspaceRoot: string): Promise; //# sourceMappingURL=pid-file.d.ts.map