API reference: @salmonui/inputs/speech-to-text
SpeechRecognitionStatetype
import type { SpeechRecognitionState } from '@salmonui/inputs/speech-to-text';type SpeechRecognitionState = 'idle' | 'listening' | 'stopped';
'idle' before the first session, 'listening' while a session runs, 'stopped' after it ends.