export interface Pm2ShutdownCapabilityTarget { name: string; pid: number; } export interface AttestedPm2DaemonShutdownTarget extends Pm2ShutdownCapabilityTarget { larkAppId: string; ipcPort: number; bootInstanceId: string; processStartIdentity: string; } export interface Pm2ShutdownCapabilityRuntime { 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; } /** * Require every still-live target daemon PID to own one fresh, daemon-written * descriptor advertising the exact safe shutdown protocol. This is a rollout * boundary, not a package-version guess: installing a new CLI does not upgrade * an already-running old daemon in memory. */ export declare function assertPm2DaemonShutdownCapabilitiesIn(operation: string, targets: readonly Pm2ShutdownCapabilityTarget[], registryDir: string, runtime?: Pm2ShutdownCapabilityRuntime): AttestedPm2DaemonShutdownTarget[]; //# sourceMappingURL=pm2-shutdown-capability.d.ts.map