import type { MCPServerConfig, MCPTool, MCPToolResult } from "./types.js"; export interface MCPManagerConfig { mcpServers?: Record; } export declare class MCPManager { private clients; private config; constructor(config?: MCPManagerConfig); /** * Initialize all configured MCP servers. Non-blocking — failures are logged but don't throw. */ connectAll(): Promise; /** * Connect a single server by name. */ connectServer(name: string): Promise; /** * Get all available tools across all connected servers. */ getAllTools(): MCPTool[]; /** * Call a tool by name, routing to the correct server. */ callTool(name: string, args?: Record): Promise; /** * Get formatted tool descriptions for system prompt injection. */ getToolDescriptions(): string; /** * Get status of all configured/connected servers. */ getStatus(): Array<{ name: string; connected: boolean; toolCount: number; }>; /** * Disconnect all servers. */ disconnectAll(): Promise; /** * Number of connected servers. */ get connectedCount(): number; /** * Total tool count across all servers. */ get totalToolCount(): number; } //# sourceMappingURL=manager.d.ts.map