import { default as React } from 'react';
import { WaveSurferOptions } from 'wavesurfer.js';
interface AudioPlayerProps {
    autoplay: boolean;
    audioUrl: string;
    speed: number;
    ref?: any;
    height?: number;
    width?: number;
    onReady?: (duration: number) => void;
    onClick?: (value: number) => void;
    onFinish?: () => void;
    onAnalyse?: (analyseData: any, frequencyBinCount: any) => void;
    onAudioprocess?: (current: number) => void;
    onPlay?: () => void;
    onPause?: () => void;
}
declare const AudioPlayer: React.FC<AudioPlayerProps & Omit<WaveSurferOptions, 'container'>>;
export default AudioPlayer;
