import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri"; import { IActiveCodeEditor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser"; import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service"; import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service"; import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service"; import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service"; import { IChatAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents.service"; import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service"; import { ILanguageModelToolsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service"; import { IInlineChatSession } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService"; import { IInlineChatSessionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service"; export declare class InlineChatError extends Error { static readonly code = "InlineChatError"; constructor(message: string); } export declare class InlineChatSessionServiceImpl implements IInlineChatSessionService { #private; _serviceBrand: undefined; readonly onWillStartSession: Event; readonly onDidChangeSessions: Event; constructor(chatService: IChatService, chatAgentService: IChatAgentService); dispose(): void; createSession(editor: IActiveCodeEditor): IInlineChatSession; getSessionByTextModel(uri: URI): IInlineChatSession | undefined; getSessionBySessionUri(sessionResource: URI): IInlineChatSession | undefined; } export declare class InlineChatEnabler { #private; static Id: string; constructor(contextKeyService: IContextKeyService, chatAgentService: IChatAgentService, editorService: IEditorService, configService: IConfigurationService); dispose(): void; } export declare class InlineChatEscapeToolContribution extends Disposable { #private; static readonly Id = "inlineChat.escapeTool"; constructor(lmTools: ILanguageModelToolsService, inlineChatSessionService: IInlineChatSessionService, logService: ILogService); }