import { TTSProvider, SpeakOptions, VoiceInfo, SpeechError } from './types.js'; export declare class WebSpeechTTSProvider implements TTSProvider { readonly isSupported: boolean; private _startCbs; private _endCbs; private _errorCbs; /** Resolves with the array of available voices. Safe to call multiple times */ private _voicesPromise; constructor(); onStart(cb: () => void): void; onEnd(cb: () => void): void; onError(cb: (err: SpeechError) => void): void; private _emitStart; private _emitEnd; private _emitError; speak(options: SpeakOptions): Promise; stop(): void; pause(): void; resume(): void; getVoices(): Promise; private _loadVoices; }