@lobehub/tts
Version:
A high-quality & reliable TTS React Hooks library
10 lines • 372 B
text/typescript
//#region src/react/useSpeechRecognition/useSpeechRecognitionCore.d.ts
interface SpeechRecognitionCoreOptions {
onRecognitionError?: (error: any) => void;
onRecognitionFinish?: (value: string) => void;
onRecognitionStart?: () => void;
onRecognitionStop?: () => void;
onTextChange?: (value: string) => void;
}
//#endregion
export { SpeechRecognitionCoreOptions };