expo-speech
Version:
Provides text-to-speech functionality.
13 lines (12 loc) • 418 B
TypeScript
import { SpeechOptions, WebVoice } from './Speech.types';
declare const _default: {
readonly name: string;
speak(id: string, text: string, options: SpeechOptions): Promise<SpeechSynthesisUtterance>;
getVoices(): WebVoice[];
isSpeaking(): Promise<boolean>;
stop(): Promise<void>;
pause(): Promise<void>;
resume(): Promise<void>;
maxSpeechInputLength: number;
};
export default _default;