import { AbstractUiComponent } from "./AbstractUiComponent";
import { UiAudioLevelIndicatorCommandHandler, UiAudioLevelIndicatorConfig } from "../generated/UiAudioLevelIndicatorConfig";
import { TeamAppsUiContext } from "./TeamAppsUiContext";
export declare class UiAudioLevelIndicator extends AbstractUiComponent<UiAudioLevelIndicatorConfig> implements UiAudioLevelIndicatorCommandHandler {
    private $main;
    private $activityDisplay;
    private $levelDiv;
    private mediaStreamSource;
    private audioContext;
    private mediaStreamToBeClosedWhenUnbinding;
    constructor(config: UiAudioLevelIndicatorConfig, context: TeamAppsUiContext);
    private analyserNode;
    bindToStream(mediaStream: MediaStream, mediaStreamIsExclusiveToThisComponent: boolean): void;
    /**
     *  Returns a function, that will limit the invocation of the specified function to once in delay. Invocations that come before the end of delay are ignored!
     */
    private throttle;
    unbind(): void;
    private static getAverageVolume;
    doGetMainElement(): HTMLElement;
    setDeviceId(deviceId: string): Promise<void>;
}
