import type { ToolRegistryEntry } from './types/index.js'; export interface MCPServerConfig { name: string; type: 'stdio' | 'sse'; command?: string; args?: string[]; env?: Record; url?: string; headers?: Record; oauth?: { clientId: string; authorizationUrl: string; tokenUrl: string; scopes?: string[]; }; enabled: boolean; } export interface MCPConnection { name: string; status: 'connected' | 'disconnected' | 'error'; tools: string[]; error?: string; } export declare class MCPManager { private servers; private connections; private authTokens; constructor(); private loadConfig; private saveConfig; private loadAuth; private saveAuth; addServer(config: MCPServerConfig): Promise; removeServer(name: string): Promise; listServers(): MCPServerConfig[]; getServer(name: string): MCPServerConfig | undefined; connect(name: string): Promise; disconnect(name: string): Promise; getConnection(name: string): MCPConnection | undefined; listConnections(): MCPConnection[]; authenticate(name: string): Promise; logout(name: string): Promise; getAuthStatus(name: string): { authenticated: boolean; hasOAuth: boolean; }; getMCPTools(): Promise; setupWizard(): Promise; } export declare const mcpManager: MCPManager; //# sourceMappingURL=mcp.d.ts.map