UNPKG

react-nextjs-record

Version:

Record Voice

22 lines (21 loc) 615 B
import { Component } from 'react'; declare class AudioWaveform extends Component<any, any> { private wrapper; constructor(props: any); $el: any; wavesurfer: any; $waveform: any; state: { playing: boolean; totalTime: number; currentTime: number; remainingTime: number; }; createWave: (plugins: any) => Promise<void>; componentDidMount(): Promise<void>; componentWillUnmount(): void; handlePlay: () => void; onChangePlaybackRate: (e: any) => Promise<void>; render(): JSX.Element; } export default AudioWaveform;