import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions"; import { Action2 } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions"; import { ChatModeKind } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants"; import { IChatWidget } from "@codingame/monaco-vscode-9911aec2-e4dd-5483-8369-9d695cc70d8a-common/vscode/vs/workbench/contrib/chat/browser/chat"; export interface IVoiceChatExecuteActionContext { readonly disableTimeout?: boolean; } export interface IChatExecuteActionContext { widget?: IChatWidget; inputValue?: string; voice?: IVoiceChatExecuteActionContext; } declare abstract class SubmitAction extends Action2 { run(accessor: ServicesAccessor, ...args: any[]): Promise; } export declare class ChatSubmitAction extends SubmitAction { static readonly ID = "workbench.action.chat.submit"; constructor(); } export declare const ToggleAgentModeActionId = "workbench.action.chat.toggleAgentMode"; export interface IToggleChatModeArgs { modeId: ChatModeKind | string; } export declare const ToggleRequestPausedActionId = "workbench.action.chat.toggleRequestPaused"; export declare class ToggleRequestPausedAction extends Action2 { static readonly ID = "workbench.action.chat.toggleRequestPaused"; constructor(); run(accessor: ServicesAccessor, ...args: any[]): void; } export declare const ChatOpenModelPickerActionId = "workbench.action.chat.openModelPicker"; export declare const ChangeChatModelActionId = "workbench.action.chat.changeModel"; export declare class ChatEditingSessionSubmitAction extends SubmitAction { static readonly ID = "workbench.action.edits.submit"; constructor(); } export declare class CreateRemoteAgentJobAction extends Action2 { static readonly ID = "workbench.action.chat.createRemoteAgentJob"; static readonly markdownStringTrustedOptions: { isTrusted: { enabledCommands: string[]; }; }; constructor(); run(accessor: ServicesAccessor, ...args: any[]): Promise; } export declare class ChatSubmitWithCodebaseAction extends Action2 { static readonly ID = "workbench.action.chat.submitWithCodebase"; constructor(); run(accessor: ServicesAccessor, ...args: any[]): void; } export declare const CancelChatActionId = "workbench.action.chat.cancel"; export declare class CancelAction extends Action2 { static readonly ID = "workbench.action.chat.cancel"; constructor(); run(accessor: ServicesAccessor, ...args: any[]): void; } export declare const CancelChatEditId = "workbench.edit.chat.cancel"; export declare class CancelEdit extends Action2 { static readonly ID = "workbench.edit.chat.cancel"; constructor(); run(accessor: ServicesAccessor, ...args: any[]): void; } export declare function registerChatExecuteActions(): void; export {};