import React, { SyntheticEvent } from 'react'; import { AudioProps } from './PropsType'; import { ConfigConsumerProps } from '../config-provider'; export { AudioProps }; export default class Audio extends React.Component { static defaultProps: { currentTime: number; }; audioRef: any; sliderChanging: boolean; state: { playing: boolean; currentTime: number; duration: number; }; getIconCls: (prefixCls: string, order: string) => any; play: () => void; pause: () => void; handleLoaded: () => void; handlePlay: (e: SyntheticEvent) => void; handlePause: (e: SyntheticEvent) => void; handleTimeUpdate: (e: SyntheticEvent) => void; handleDurationChange: (e: SyntheticEvent) => void; handleAfterChange: (value: number) => void; handleSliderChange: (value: number) => void; handleCanPlay: (e: SyntheticEvent) => void; renderAudio: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; }