import { AbstractTextToModelParsingChatAgent, SystemMessageDescription } from '@theia/ai-chat/lib/common/chat-agents'; import { AIVariableContext, LanguageModelRequirement } from '@theia/ai-core'; import { MutableChatRequestModel, ChatResponseContent } from '@theia/ai-chat/lib/common/chat-model'; import { CommandRegistry, MessageService, ILogger } from '@theia/core'; interface ParsedCommand { type: 'theia-command' | 'custom-handler' | 'no-command'; commandId: string; arguments?: string[]; message?: string; } export declare class CommandChatAgent extends AbstractTextToModelParsingChatAgent { protected commandRegistry: CommandRegistry; protected messageService: MessageService; protected readonly logger: ILogger; id: string; name: string; languageModelRequirements: LanguageModelRequirement[]; iconClass: string; protected defaultLanguageModelPurpose: string; description: string; prompts: import("@theia/ai-core").PromptVariantSet[]; agentSpecificVariables: { name: string; description: string; usedInPrompt: boolean; }[]; protected getSystemMessageDescription(context: AIVariableContext): Promise; /** * @param text the text received from the language model * @returns the parsed command if the text contained a valid command. * If there was no json in the text, return a no-command response. */ protected parseTextResponse(text: string): Promise; protected createResponseContent(parsedCommand: ParsedCommand, request: MutableChatRequestModel): ChatResponseContent; protected commandCallback(...commandArgs: unknown[]): Promise; } export {}; //# sourceMappingURL=command-chat-agents.d.ts.map