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<void>;
    /**
     * Stops the recording session and transforms the resulting blob to base64 encoded string
     */
    stopRecording(): Promise<string>;
    /**
     * Initializes the browser audio context
     */
    private static initializeAudioContext;
    /**
     * Removes the: 'data:[<mediatype>][;base64],' part from the given url string
     * @param dataUrl
     */
    private static removeMimeType;
    /**
     * RecordRTC audio recording configuration
     * @see https://recordrtc.org
     */
    private static rtcConfig;
}
