import { Element } from '../../../../../client/element';
import { Mode } from '../../../../../client/mode';
import { System } from '../../../../../system';
import { Dict } from '../../../../../types/Dict';
import { ISpeechRecognitionOpt } from '../../../../../types/global/ISpeechRecognition';
export interface Props {
    className?: string;
    style?: Dict<string>;
    mode?: Mode;
    disabled?: boolean;
    opt?: ISpeechRecognitionOpt;
    tabIndex?: number;
}
export declare const DEFAULT_STYLE: {
    touchAction: string;
};
export default class MicrophoneButton extends Element<HTMLDivElement, Props> {
    private _icon_button;
    private _speech_recorder;
    private _recording;
    constructor($props: Props, $system: System);
    onPropChanged(prop: string, current: any): void;
    private _on_pointer_down;
    private _on_transcript;
    private _on_err;
    start(): void;
    stop(): void;
    recording(): boolean;
}
