/** * Process-identity primitives for authoritative job ownership and PID-reuse * protection. Ownership must NEVER rely on PID alone. */ export interface ProcessIdentityInfo { pid: number; /** Command line (cmdline joined with spaces). */ commandLine: string; /** Start identity: epoch seconds (POSIX) or creation timestamp (Windows). */ startIdentity?: number; alive: boolean; } /** * Read authoritative identity for a PID on the current platform. Never trusts * PID alone. */ export declare function readProcessIdentity(pid: number): Promise; export declare function isWindowsPlatform(): boolean; /** Verify a live PID matches a recorded identity (executable + start time). */ export declare function identityMatches(live: ProcessIdentityInfo, expected: { commandIdentity?: string; processStartIdentity?: number; }): { match: boolean; reason?: string; }; export declare const readFileUtf8: (p: string) => Promise; //# sourceMappingURL=process-identity.d.ts.map