/** * Tool Call Display Utilities * Enhanced display of tool calls and results for better UX */ /** * Tool call information */ export interface ToolCallInfo { id: string; name: string; type: 'local' | 'mcp' | 'system'; serverName?: string; args?: Record; status: 'pending' | 'running' | 'completed' | 'error'; startTime?: number; endTime?: number; result?: unknown; error?: string; } /** * Display tool call start */ export declare function displayToolCallStart(tool: ToolCallInfo): void; /** * Display tool call result with rich formatting for coding tools */ export declare function displayToolCallResult(tool: ToolCallInfo): void; /** * Display tool call summary (for batch operations) */ export declare function displayToolCallSummary(tools: ToolCallInfo[]): void; /** * Create a tool call tracker for collecting tool calls */ export declare function createToolCallTracker(): { start(id: string, name: string, type: "local" | "mcp" | "system", args?: Record, serverName?: string): void; complete(id: string, result?: unknown): void; error(id: string, error: string): void; getAll(): ToolCallInfo[]; showSummary(): void; clear(): void; }; /** * Format tool call for inline display (single line) */ export declare function formatToolCallInline(name: string, status: 'pending' | 'running' | 'completed' | 'error'): string; /** * Export display functions for use in renderer */ export declare const toolDisplay: { start: typeof displayToolCallStart; result: typeof displayToolCallResult; summary: typeof displayToolCallSummary; createTracker: typeof createToolCallTracker; formatInline: typeof formatToolCallInline; }; //# sourceMappingURL=ToolCallDisplay.d.ts.map