import { ChatResponsePartRenderer } from '../chat-response-part-renderer.js'; import { ChatResponseContent, ToolCallChatResponseContent } from '@theia/ai-chat/lib/common'; import { ReactNode } from '@theia/core/shared/react'; import { ContextMenuRenderer, HoverService, KeybindingRegistry, MarkdownRenderer, OpenerService } from '@theia/core/lib/browser'; import { ToolConfirmationKeybindingHints } from './tool-confirmation.js'; import { ToolConfirmationMode } from '@theia/ai-chat/lib/common/chat-tool-preferences'; import { ResponseNode } from '../chat-tree-view/index.js'; import { ToolInvocationRegistry, ToolRequest } from '@theia/ai-core'; import { ToolConfirmationManager } from '@theia/ai-chat/lib/browser/chat-tool-preference-bindings'; import { PendingToolConfirmationTracker } from '@theia/ai-chat/lib/browser/pending-tool-confirmation-tracker'; export declare class ToolCallPartRenderer implements ChatResponsePartRenderer { protected toolConfirmationManager: ToolConfirmationManager; protected openerService: OpenerService; protected toolInvocationRegistry: ToolInvocationRegistry; protected hoverService: HoverService; protected contextMenuRenderer: ContextMenuRenderer; protected pendingToolConfirmationTracker: PendingToolConfirmationTracker; protected keybindingRegistry: KeybindingRegistry; protected markdownRenderer: MarkdownRenderer; canHandle(response: ChatResponseContent): number; renderConfirmation(response: ToolCallChatResponseContent, parentNode: ResponseNode): ReactNode; render(response: ToolCallChatResponseContent, parentNode: ResponseNode): ReactNode; protected getKeybindingHints(): ToolConfirmationKeybindingHints; protected formatKeybinding(commandId: string): string | undefined; protected renderResult(response: ToolCallChatResponseContent): ReactNode; protected getToolConfirmationSettings(responseId: string, chatId: string, toolRequest?: ToolRequest): ToolConfirmationMode; protected getArgumentsLabel(toolName: string | undefined, args: string | undefined): string; protected showArgsTooltip(response: ToolCallChatResponseContent, target: HTMLElement | undefined): void; } //# sourceMappingURL=toolcall-part-renderer.d.ts.map