/** * Runtime voice UI states shown on the primary microphone control. * * @private function of `useChatInputAreaDictation` */ export type DictationUiState = 'idle' | 'listening' | 'processing' | 'error' | 'disabled'; /** * Visual tone used by the floating speech-status bubble. * * @private function of `useChatInputAreaDictation` */ export type SpeechStatusBubbleTone = 'neutral' | 'recording' | 'processing' | 'error'; /** * UI metadata derived from the current speech-recognition state. * * @private function of `useChatInputAreaDictation` */ export type SpeechRecognitionUiDescriptor = { readonly buttonTitle: string; readonly bubbleText?: string; readonly bubbleTone?: SpeechStatusBubbleTone; readonly isButtonActive: boolean; readonly isButtonDisabled: boolean; }; /** * Resolves voice-button and floating-bubble UI from a speech-recognition state. * * @private function of `useChatInputAreaDictation` */ export declare function resolveSpeechRecognitionUiDescriptor(state: DictationUiState): SpeechRecognitionUiDescriptor;