import React from 'react';
import { ILine } from '../Line/Line';
import { IElementReference, IPropsAny, ISize } from '../types';
export interface ISpeechToText extends ILine {
    size?: ISize;
    SpeechRecognition?: any;
    continuous?: boolean;
    grammars?: any;
    interimResults?: boolean;
    language?: string;
    maxAlternatives?: number;
    join?: string;
    loading?: any;
    disabled?: any;
    Icon?: IElementReference;
    IconStop?: IElementReference;
    onListen?: (event: React.MouseEvent<any>) => any;
    onListenStop?: (event: React.MouseEvent<any>) => any;
    onChange?: (value: string) => any;
    onData?: (value: string) => any;
    onStart?: (event: React.MouseEvent<any>) => any;
    onStop?: (event: React.MouseEvent<any>) => any;
    onError?: (error: Error) => any;
    TooltipProps?: IPropsAny;
    IconButtonProps?: IPropsAny;
    IconProps?: IPropsAny;
}
declare const SpeechToText: React.FC<ISpeechToText>;
export default SpeechToText;
