/** Bumped when the relay's reconnect contract changes incompatibly. */ export declare const MCP_GATEWAY_RELAY_PROTOCOL_VERSION = 2; export interface McpGatewayLaunchRecord { version: number; socketPath: string; } export declare function mcpGatewayLaunchRecordPath(dataDir: string, sessionId: string): string; export declare function writeMcpGatewayLaunchRecord(dataDir: string, sessionId: string, socketPath: string): void; export declare function clearMcpGatewayLaunchRecord(dataDir: string, sessionId: string): void; export declare function readMcpGatewayLaunchRecord(dataDir: string, sessionId: string): McpGatewayLaunchRecord | null; /** Pure decision: may the worker reattach a surviving persistent pane that * carries plugin MCP state, instead of killing it for a cold-resume? */ export declare function mcpGatewayPaneReattachSafe(record: McpGatewayLaunchRecord | null, expectedSocketPath: string): boolean; //# sourceMappingURL=launch-record.d.ts.map