export declare const START_TIME_TOLERANCE_MS = 5000; export declare function procStatFields(path: string): string[] | undefined; export declare function processStartTimeMs(pid: number): number | undefined; /** * Lenient fingerprint comparison: unknown data (no recorded start time, an * unparsable record, or an unresolvable actual start time) counts as a match. * Use for non-destructive liveness checks where "possibly alive" is the safe * answer (pidfile checks, deciding not to take over a lease). */ export declare function sameProcessStart(recorded: string | number | undefined, actualMs: number | undefined, toleranceMs?: number): boolean; /** * Strict fingerprint comparison for destructive paths (signalling processes): * true only when both the recorded and actual start times resolve and match * within tolerance. Unverifiable identity fails closed as a mismatch. */ export declare function verifiedProcessStart(recorded: string | number | undefined, actualMs: number | undefined, toleranceMs?: number): boolean;