UNPKG

react-voice-recorder-pro

Version:

A powerful React hook-based voice recording library with real-time audio visualization and comprehensive browser support

11 lines 336 B
type MicrophoneState = { stream: MediaStream | null; isEnabled: boolean; permission: PermissionState | 'prompt' | 'unknown'; error: string | null; enable: () => Promise<void>; disable: () => void; }; export declare function useMicrophone(): MicrophoneState; export {}; //# sourceMappingURL=useMicrophone.d.ts.map