interface UseVoiceInputOptions { /** Called when daemon dictation returns transcript text. */ onTranscript?: (transcript: string, isFinal: boolean) => void; onError?: (message: string) => void; onNeedsInstall?: () => void; lang?: string; } interface UseVoiceInputResult { isListening: boolean; isTranscribing: boolean; isSupported: boolean; analyser: AnalyserNode | null; error: string | null; start: () => Promise; stop: () => void; } /** * Owns streaming dictation: getUserMedia + AudioContext for waveform and PCM * frame capture, plus a WebSocket session to the configured otto daemon. * * The returned `analyser` is intended to be passed to . */ export declare function useVoiceInput({ onTranscript, onError, onNeedsInstall, lang, }?: UseVoiceInputOptions): UseVoiceInputResult; export {}; //# sourceMappingURL=useVoiceInput.d.ts.map