import { Client } from '@modelcontextprotocol/sdk/client/index.js'; import { CustomClient } from './CustomClient'; import { CallToolResult, ESTool, MCPToolParams, ToolCallParams } from './type'; export * from './CallToolResultSchema'; export * from './CustomClient'; export * from './type'; type OptionType = { servers: { name: string; url: string; }[]; custom_tools: ESTool[]; }; export declare class MCPClients { private _clients; constructor(); isInitialized: boolean; initialize(option?: OptionType): Promise; registerCustomTool(tool: ESTool): void; listTools(): Promise; getTool(name: string): Promise | null>; callTool(params: ToolCallParams): Promise; groupTools(): Promise<{ group: string; tools: MCPToolParams[]; }[]>; }