/** * MCP Adapter - Adapts V2 MCP tool calls to V3 format */ import { MCPToolMapping, MCPResolution } from './types'; import { AgentMapper } from './agent-mapper'; /** * MCP Adapter class for V2 to V3 tool call translation */ export declare class MCPAdapter { private mappings; private agentMapper; constructor(agentMapper: AgentMapper); /** * Resolve an MCP tool call from v2 to v3 format */ resolve(toolName: string, params?: Record): MCPResolution; /** * Translate v2 parameters to v3 format */ private translateParams; /** * Check if a tool name is v2 format */ isV2Tool(toolName: string): boolean; /** * Get all MCP mappings */ getAllMappings(): MCPToolMapping[]; /** * Forward a v2 tool call to v3 implementation */ forward(toolName: string, params: Record, v3Handler: (tool: string, params: Record) => Promise): Promise; /** * Generate MCP migration guide */ generateMigrationGuide(): string; } //# sourceMappingURL=mcp-adapter.d.ts.map