import { CancellationToken, Disposable, IChatProgress, IDisposable, ILogger } from '@opensumi/ide-core-common'; import { CoreMessage, IChatAgent, IChatAgentMetadata, IChatAgentRequest, IChatAgentResult, IChatAgentService, IChatFollowup, IChatMessageStructure } from '../../common'; import { LLMContextService } from '../../common/llm-context'; import { ChatAgentPromptProvider } from '../../common/prompts/context-prompt-provider'; export declare class ChatAgentService extends Disposable implements IChatAgentService { private readonly agents; private defaultAgentId; private initialUserMessageMap; private shouldUpdateContext; private contextVersion; private readonly _onDidChangeAgents; readonly onDidChangeAgents: import("@opensumi/ide-core-common").Event; private readonly _onDidSendMessage; readonly onDidSendMessage: import("@opensumi/ide-core-common").Event; logger: ILogger; private readonly aiReporter; protected readonly llmContextService: LLMContextService; protected readonly promptProvider: ChatAgentPromptProvider; private aiChatService; private readonly chatFeatureRegistry; constructor(); registerAgent(agent: IChatAgent): IDisposable; updateAgent(id: string, updateMetadata: IChatAgentMetadata): Promise; getAgents(): Array; hasAgent(id: string): boolean; getDefaultAgentId(): string | undefined; getAgent(id: string): IChatAgent | undefined; invokeAgent(id: string, request: IChatAgentRequest, progress: (part: IChatProgress) => void, history: CoreMessage[], token: CancellationToken): Promise; private provideContextMessage; populateChatInput(id: string, message: IChatMessageStructure): void; getCommands(): { agentId: string; name: string; description: string; isShortcut?: true; }[]; getFollowups(id: string, sessionId: string, token: CancellationToken): Promise; getSampleQuestions(id: string, token: CancellationToken): Promise; getAllSampleQuestions(): Promise; sendMessage(chunk: IChatProgress): void; parseMessage(value: string, currentAgentId?: string): { agentId: string; command: string; message: string; }; } //# sourceMappingURL=chat-agent.service.d.ts.map