import type { McpManager, McpManagerOptions, McpServerRegistration, McpServerSnapshot, McpToolCallRequest, McpToolCallResult, McpToolDescriptor } from "./types"; export declare class InMemoryMcpManager implements McpManager { private readonly toolsCacheTtlMs; private readonly clientFactory; private readonly servers; private readonly operationLocks; constructor(options: McpManagerOptions); registerServer(registration: McpServerRegistration): Promise; unregisterServer(serverName: string): Promise; connectServer(serverName: string): Promise; disconnectServer(serverName: string): Promise; setServerDisabled(serverName: string, disabled: boolean): Promise; listServers(): readonly McpServerSnapshot[]; listTools(serverName: string): Promise; refreshTools(serverName: string): Promise; callTool(request: McpToolCallRequest): Promise; dispose(): Promise; private ensureConnectedClient; private connectState; private disconnectState; private requireServer; private runExclusive; }