import { AudioRecorder } from "./AudioRecorder"; export declare class WebRTCRecorder implements AudioRecorder { private recordRTC; private static INSTANCE; private constructor(); static instance(): AudioRecorder; /** * Starts the RecordRTC recording */ startRecording(): Promise; /** * Stops the recording session and transforms the resulting blob to base64 encoded string */ stopRecording(): Promise; /** * Initializes the browser audio context */ private static initializeAudioContext; /** * Removes the: 'data:[][;base64],' part from the given url string * @param dataUrl */ private static removeMimeType; /** * RecordRTC audio recording configuration * @see https://recordrtc.org */ private static rtcConfig; }