import { Client } from '@modelcontextprotocol/sdk/client/index.js'; import { BaseTool } from './base'; export interface MCPToolInfo { name: string; description?: string; inputSchema?: any; } export declare class MCPTool extends BaseTool { name: string; description: string; private client; private inputSchema; constructor(info: MCPToolInfo, client: Client); get schemaProperties(): Record | undefined; run(args?: any): Promise; toOpenAITool(): { type: string; function: { name: string; description: string; parameters: any; }; }; } export declare class MCP implements Iterable { private url; private debug; tools: MCPTool[]; private client; constructor(url: string, debug?: boolean); initialize(): Promise; [Symbol.iterator](): Iterator; toOpenAITools(): { type: string; function: { name: string; description: string; parameters: any; }; }[]; close(): Promise; get isConnected(): boolean; }