import { NativeModule } from 'expo-modules-core'; import { SpeechOptions, WebVoice } from './Speech.types'; type ExpoSpeechEvents = { 'Exponent.speakingStarted': (params: { id: string; nativeEvent: SpeechSynthesisEvent; }) => void; 'Exponent.speakingDone': (params: { id: string; nativeEvent: SpeechSynthesisEvent; }) => void; 'Exponent.speakingStopped': (params: { id: string; nativeEvent: SpeechSynthesisEvent; }) => void; 'Exponent.speakingError': (params: { id: string; nativeEvent: SpeechSynthesisEvent; }) => void; }; declare class ExpoSpeech extends NativeModule { speak(id: string, text: string, options: SpeechOptions): Promise; getVoices(): Promise; isSpeaking(): Promise; stop(): Promise; pause(): Promise; resume(): Promise; maxSpeechInputLength: number; } declare const _default: typeof ExpoSpeech; export default _default; //# sourceMappingURL=ExponentSpeech.web.d.ts.map