import { ChatService } from '@theia/ai-chat'; import { AICommandHandlerFactory } from '@theia/ai-core/lib/browser'; import { MenuContribution, MenuModelRegistry } from '@theia/core'; import { ApplicationShell, KeybindingContribution, KeybindingRegistry } from '@theia/core/lib/browser'; import { Command, CommandContribution, CommandRegistry } from '@theia/core/lib/common'; import { MonacoCommandRegistry, MonacoEditorCommandHandler } from '@theia/monaco/lib/browser/monaco-command-registry'; import { AskAIInputMonacoZoneWidget } from './ask-ai-input-monaco-zone-widget'; import { AskAIInputFactory } from './ask-ai-input-widget'; export declare namespace AI_EDITOR_COMMANDS { const AI_EDITOR_ASK_AI: Command; const AI_EDITOR_SEND_TO_CHAT: Command; } export declare class AiEditorCommandContribution implements CommandContribution, MenuContribution, KeybindingContribution { protected readonly monacoCommandRegistry: MonacoCommandRegistry; protected readonly chatService: ChatService; protected readonly commandHandlerFactory: AICommandHandlerFactory; protected readonly askAIInputFactory: AskAIInputFactory; protected readonly shell: ApplicationShell; protected askAiInputWidget: AskAIInputMonacoZoneWidget | undefined; registerCommands(registry: CommandRegistry): void; protected showInputWidgetHandler(): MonacoEditorCommandHandler; private showInputWidget; private cleanupInputWidget; protected sendToChatHandler(): MonacoEditorCommandHandler; private createNewChatSession; protected wrapMonacoHandler(handler: MonacoEditorCommandHandler): MonacoEditorCommandHandler; registerMenus(menus: MenuModelRegistry): void; registerKeybindings(registry: KeybindingRegistry): void; } //# sourceMappingURL=ai-editor-command-contribution.d.ts.map