import { createSpeechRecognition } from './core.mjs'; export { UseSpeechRecognitionOptions, UseSpeechRecognitionReturn } from './core.mjs'; import '@usels/core'; import '../../shared/configurable.mjs'; import '@legendapp/state'; /** * Reactive wrapper around the * [Web Speech Recognition API](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition). * * Exposes the current transcript, finality, and error as observables with * `start()` / `stop()` / `toggle()` controls. All option fields are read at * each `start()` call so reactive updates apply on the next recognition run. */ type UseSpeechRecognition = typeof createSpeechRecognition; declare const useSpeechRecognition: UseSpeechRecognition; export { type UseSpeechRecognition, createSpeechRecognition, useSpeechRecognition };