export type UseMediaRecorderProps = {
    mimeType?: string;
    onPausedRecording?: () => void;
    onResumedRecording?: () => void;
    onUpdate?: (chunks: Blob[], chunk: Blob) => void;
    onFinish?: (audioUrl: string, audioBlob: Blob) => void | Promise<void>;
};
declare const useMediaRecorder: ({ mimeType, onPausedRecording, onResumedRecording, onUpdate, onFinish }: UseMediaRecorderProps) => {
    start: () => Promise<void>;
    resume: () => void;
    pause: () => void;
    stop: () => void;
    recording: boolean;
    error: string | undefined;
    audioData: Uint8Array<ArrayBuffer>;
    paused: boolean;
};
export default useMediaRecorder;
