/** * MCP Client Foundation — client service (2.13.0). * * Implements the Jensen-facing `McpClientPort` over the SDK adapter and * integrates tool calls with the Evidence Archive. Sessions are process-lifetime * objects: no fake cross-process persistence is implied. */ import { type EvidenceArchive } from "../context-runtime/evidence-archive.js"; import type { McpServerDefinition, McpServerSession, McpSessionHealth, McpToolCall, McpToolDescriptor, McpToolResult } from "./mcp-types.js"; export interface McpClientServiceOptions { evidenceArchive?: EvidenceArchive; now?: () => number; } export declare class McpClientService { private readonly evidenceArchive; private readonly now; private readonly sessions; constructor(options?: McpClientServiceOptions); connect(server: McpServerDefinition): Promise; disconnect(sessionId: string): Promise; listTools(sessionId: string): Promise; callTool(sessionId: string, request: McpToolCall): Promise; health(sessionId: string): Promise; /** Snapshot of a known session (used by CLI inspect). */ getSession(sessionId: string): McpServerSession; private requireSession; } //# sourceMappingURL=mcp-client-service.d.ts.map