import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import type { ToolDefinition } from "../types.js";
import type { McpServerSpec } from "./config.js";
export interface ConnectedMcpServer {
    spec: McpServerSpec;
    client: Client;
    tools: ToolDefinition[];
    close(): Promise<void>;
}
export declare function connectMcpServers(specs: McpServerSpec[], log?: (msg: string) => void): Promise<ConnectedMcpServer[]>;
//# sourceMappingURL=client.d.ts.map