import type { AgentTool, ToolDescriptor } from './tool.types';
export declare class McpClient {
    private readonly connections;
    isEnabled(): boolean;
    connect(_serverId: string, _spec: McpServerSpec): Promise<McpServerConnection>;
    listAvailableTools(): Promise<ToolDescriptor[]>;
    buildToolAdapter(_serverId: string, _serverToolName: string): AgentTool;
}
export interface McpServerSpec {
    transport: 'stdio' | 'sse';
    endpoint: string;
    args?: string[];
    env?: Record<string, string>;
}
export interface McpServerConnection {
    readonly serverId: string;
    close(): Promise<void>;
}
