import { createSpeechSynthesis } from './core.mjs'; export { UseSpeechSynthesisErrorData, UseSpeechSynthesisOptions, UseSpeechSynthesisReturn, UseSpeechSynthesisStatus } from './core.mjs'; import '@usels/core'; import '../../shared/configurable.mjs'; import '@legendapp/state'; /** * Reactive wrapper around the * [SpeechSynthesis API](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis). * * Exposes `isPlaying$`, `status$`, and `error$` as observables with * `speak()` / `stop()` / `toggle()` controls. Text and option fields are read * at each `speak()` call so reactive updates apply on the next utterance. */ type UseSpeechSynthesis = typeof createSpeechSynthesis; declare const useSpeechSynthesis: UseSpeechSynthesis; export { type UseSpeechSynthesis, createSpeechSynthesis, useSpeechSynthesis };