import { RawContextKey } from "../../../../platform/contextkey/common/contextkey.js"; import { IPolicyData } from "../../../../base/common/defaultAccount.js"; /** * Context keys reflecting the live Voice Mode connection state. Defined here in * the common layer so other contributions (e.g. chat-input dictation) can gate * their UI on Voice Mode being active without importing the browser contribution. */ export declare const AGENTS_VOICE_CONNECTED: RawContextKey; export declare const AGENTS_VOICE_CONNECTING: RawContextKey; export declare const AGENTS_VOICE_RECONNECTING: RawContextKey; export declare const AGENTS_VOICE_LISTENING: RawContextKey; export declare const AGENTS_VOICE_MUTED: RawContextKey; export declare const AGENTS_VOICE_TOGGLE_MUTE_COMMAND_ID = "agentsVoice.toggleMute"; /** * True on the Agents window chat input that owns the active Voice Mode session, so * post-connect voice controls (connecting indicator, Escape to disconnect) stay * anchored to that input. */ export declare const AGENTS_VOICE_INITIATED_HERE: RawContextKey; /** * True when the current Copilot entitlement permits Voice Mode. This is a single * key set imperatively from `IChatEntitlementService` (see * `AgentsVoiceEntitlementKeyContribution`) rather than an OR-of-plans context-key * expression: negating such a disjunction — as `SegmentedVoiceInputModePillInactive` * does — distributes it combinatorially into thousands of terms, which is * prohibitively expensive to build and evaluate on every menu/keybinding update. */ export declare const AGENTS_VOICE_ENTITLED: RawContextKey; export declare const AGENTS_VOICE_ENABLED: import("../../../../platform/contextkey/common/contextkey.js").ContextKeyExpression; export declare function getAgentsVoicePolicyValue(policyData: IPolicyData): false | undefined; export declare enum AgentsVoiceSettingId { ShowButton = "agents.voice.showButton", UseBYOKVoiceModel = "agents.voice.useBYOKVoiceModel", SessionAwareness = "agents.voice.sessionAwareness" } /** * Default dimensions for the Agents Voice floating window. */ export declare const AGENTS_VOICE_WINDOW_DEFAULT_WIDTH = 400; export declare const AGENTS_VOICE_WINDOW_DEFAULT_HEIGHT = 70; /** * Storage keys for persisting Voice Mode state across restarts. */ export declare enum AgentsVoiceStorageKeys { WindowOpen = "agentsVoice.windowOpen", WindowBounds = "agentsVoice.windowBounds", TranscriptIndex = "agentsVoice.transcriptIndex", OnboardingCompleted = "agentsVoice.onboardingCompleted", GptLiveNoticeShown = "agentsVoice.gptLiveNoticeShown", /** * First-run introduction shown above the chat input. Distinct from * {@link OnboardingCompleted}, which tracks the Voice Mode window's own * onboarding. */ IntroBannerShown = "agentsVoice.introBannerShown", MicrophoneDevice = "agentsVoice.microphoneDevice" }