type ProcessIncarnationCommandResult = { exitCode: number | null; stdout: string; } | undefined; export type ProcessIncarnationCommandRunner = (command: string, args: readonly string[]) => ProcessIncarnationCommandResult; export interface ProcessIncarnationOptions { platform?: typeof process.platform; runCommand?: ProcessIncarnationCommandRunner; } /** Parse the microsecond-resolution start timestamp returned by Darwin proc_pidinfo. */ export declare function parseDarwinProcessIncarnation(info: Uint8Array): string | undefined; /** Whether `value` is a canonical process-incarnation string (`linux:`/`darwin:`/`windows:`). */ export declare function isProcessIncarnation(value: unknown): value is string; /** A PID is reusable; bind it to the strongest OS-provided process start incarnation available. */ export declare function processIncarnation(pid: number, options?: ProcessIncarnationOptions): string | undefined; export {};