UNPKG

@lobehub/tts

Version:

A high-quality & reliable TTS React Hooks library

11 lines (10 loc) 321 B
export declare const useAudioRecorder: (onBlobAvailable?: ((blob: Blob) => void) | undefined) => { blob: Blob | undefined; formattedTime: string; isRecording: boolean; mediaRecorder: MediaRecorder | undefined; start: () => void; stop: () => void; time: number; url: string | undefined; };