export interface Pm2DescriptorProjectionEntry { pid: number; } export interface Pm2DescriptorGuardRuntime { now(): number; exists(path: string): boolean; readdir(path: string): string[]; read(path: string): string; mtime(path: string): number; isAlive(pid: number): boolean; readStartIdentity(pid: number): string | undefined; } /** Reconcile PM2 registry authority with daemon-owned descriptors before a * core mutation. Fresh semantic corruption is fail-closed. A stale descriptor * is not automatically harmless: an event-loop-frozen/orphan daemon can remain * live after PM2 loses its registry. Ignore a semantically parseable stale * record only after proving its PID dead or owned by a different process birth. */ export declare function assertNoUnregisteredLiveDaemonDescriptorsIn(operation: string, projections: Pm2DescriptorProjectionEntry[], registryDir: string, runtime?: Pm2DescriptorGuardRuntime): void; //# sourceMappingURL=pm2-descriptor-guard.d.ts.map