import { WebPlugin } from '@capacitor/core'; import type { TextToSpeechPlugin, TTSOptions } from './definitions'; export declare class TextToSpeechWeb extends WebPlugin implements TextToSpeechPlugin { private speechSynthesis; private supportedVoices; constructor(); speak(options: TTSOptions): Promise; stop(): Promise; getSupportedLanguages(): Promise<{ languages: string[]; }>; getSupportedVoices(): Promise<{ voices: SpeechSynthesisVoice[]; }>; isLanguageSupported(options: { lang: string; }): Promise<{ supported: boolean; }>; openInstall(): Promise; private createSpeechSynthesisUtterance; private getSpeechSynthesisVoices; private throwUnsupportedError; private throwUnimplementedError; }