import { IAction } from "../../../../../base/common/actions.js"; import { IDisposable } from "../../../../../base/common/lifecycle.js"; import { ICommandService } from "../../../../../platform/commands/common/commands.service.js"; import { IConfigurationService } from "../../../../../platform/configuration/common/configuration.service.js"; import { IContextMenuService } from "../../../../../platform/contextview/browser/contextView.service.js"; import { IKeybindingService } from "../../../../../platform/keybinding/common/keybinding.service.js"; /** Command that opens the microphone picker shared by dictation and Voice Mode. */ export declare const SELECT_MICROPHONE_COMMAND = "workbench.action.chat.selectSpeechToTextMicrophone"; /** Command that shows the Voice Mode onboarding card again. */ export declare const SHOW_VOICE_MODE_ONBOARDING_COMMAND = "agentsVoice.showOnboarding"; /** * Actions for the dictation mic button context menu. Keybinding and feature * disabling are grouped separately from configuration and onboarding. */ export declare function getDictationContextMenuActions(commandService: ICommandService, configurationService: IConfigurationService, keybindingService: IKeybindingService, keybindingCommandId: string): IAction[]; /** * Actions for the Voice Mode mic button context menu. Keybinding and feature * disabling are grouped separately from configuration and onboarding. */ export declare function getVoiceModeContextMenuActions(commandService: ICommandService, configurationService: IConfigurationService, keybindingService: IKeybindingService, keybindingCommandId: string): IAction[]; /** * Wire a right-click context menu onto a mic button. Stops the event before it * reaches the toolbar's generic context-menu handler so the mic-specific menu is * shown instead. Works for both `MenuEntryActionViewItem` containers and the * Agents-window custom mic `