export interface GatewayInfo { port: number; host?: string; url?: string; secret: string; pid: number; token?: string; ptyPids?: number[]; } /** Current-main host behavior: runtime PID records are candidates for orphan cleanup. */ export declare function staleGatewayPids(info: Partial | null | undefined, currentPid?: number): number[]; /** * Container startup is a separate trust boundary: a persisted PID belongs to a * previous container and must never be signaled. Host startup retains the * established stale-PID cleanup behavior. */ export declare function startupGatewayPids(info: Partial | null | undefined, currentPid?: number, env?: NodeJS.ProcessEnv): number[]; export declare function writeGatewayInfo(file: string, opts: { port: number; host?: string; pid: number; secret?: string; token?: string; }): GatewayInfo; export declare function readGatewayInfo(file: string): GatewayInfo | null; export declare function gatewayBaseUrl(info: Pick, fallbackHost?: string): string; export declare function updateGatewayPtyPids(file: string, ptyPids: number[]): void; //# sourceMappingURL=gateway-info.d.ts.map