export interface CallToolTextContent { type: 'text'; text: string; } export interface CallToolResourceContent { type: 'resource' | 'image' | string; [key: string]: any; } export interface CallToolResult { content?: Array; [key: string]: any; } export interface ConversationMCPClientLike { callTool(toolName: string, params: any, authContext?: any): Promise; } export interface ConversationToolResponse { success: boolean; data?: any; error?: { type: string; message: string; details?: any; }; metadata: { source: string; timestamp: string; responseTime?: number; }; } export declare class ConversationToolExecutor { private readonly mcpClient; constructor(mcpClient: ConversationMCPClientLike); executeWithErrorHandling(toolName: string, params: any, authContext: any): Promise; private isCallToolResult; private tryParseJson; private categorizeError; private sanitizeParams; }