import { CSSProperties, ReactEventHandler, ReactNode } from 'react';
interface AudioPlayerProps {
    id?: string;
    /** nodownload nofullscreen noremoteplayback */
    controlsList?: string;
    src: string;
    style?: CSSProperties;
    className?: string;
    onPlay?: ReactEventHandler<HTMLAudioElement>;
    onEnded?: ReactEventHandler<HTMLAudioElement>;
    sources?: ReactNode;
    autoPlay?: boolean;
    muted?: boolean;
    controls?: boolean;
    loop?: boolean;
}
interface AudioPlayerRef {
    element: HTMLAudioElement | HTMLDivElement;
    play: () => void;
    pause: () => void;
}
export declare const AudioPlayer: import('react').ForwardRefExoticComponent<AudioPlayerProps & import('react').RefAttributes<AudioPlayerRef>>;
export {};
//# sourceMappingURL=audio.d.ts.map