import { ToolRequest } from '@theia/ai-core'; import { ILogger } from '@theia/core'; import { ChatToolRequestService } from '../common/chat-tool-request-service'; import { MutableChatRequestModel, ToolCallChatResponseContent } from '../common/chat-model'; import { ChatToolPreferences } from '../common/chat-tool-preferences'; import { ToolConfirmationManager } from './chat-tool-preference-bindings'; /** * Frontend-specific implementation of ChatToolRequestService that handles tool confirmation */ export declare class FrontendChatToolRequestService extends ChatToolRequestService { protected readonly logger: ILogger; protected readonly confirmationManager: ToolConfirmationManager; protected readonly preferences: ChatToolPreferences; protected toChatToolRequest(toolRequest: ToolRequest, request: MutableChatRequestModel): ToolRequest; /** * Finds the matching ToolCallChatResponseContent for a tool invocation. * * Matches by: 1) toolCallId, 2) tool name + normalized arguments, 3) fallback by name only. */ protected findToolCallContent(toolRequest: ToolRequest, arguments_: string, request: MutableChatRequestModel, toolCallId?: string): ToolCallChatResponseContent; } //# sourceMappingURL=chat-tool-request-service.d.ts.map