/*!
 * Modified Recorder.js to create small-sized recorded audio
 * Copyright (c) 2013 Matt Diamond
 * Licensed under MIT (https://github.com/mattdiamond/Recorderjs/blob/master/README.md)
 */
export declare class RecorderLib {
    config: any;
    recording: boolean;
    worker: any;
    constructor(cfg: any, sampleRate: any);
    onaudioprocess(e: any): void;
    record(): void;
    stop(): void;
    clear(): void;
    getBuffer(cb: any): void;
    exportWAV(cb: any, mimeType: any): void;
    static forceDownload(blob: any, filename: any): void;
}
export declare function getRecorderInputVolume(analyser: any, volume: any, reset: any, tweenIn?: number, tweenOut?: number): number;
