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; onListenStop?: (event: React.MouseEvent) => any; onChange?: (value: string) => any; onData?: (value: string) => any; onStart?: (event: React.MouseEvent) => any; onStop?: (event: React.MouseEvent) => any; onError?: (error: Error) => any; TooltipProps?: IPropsAny; IconButtonProps?: IPropsAny; IconProps?: IPropsAny; } declare const SpeechToText: React.FC; export default SpeechToText;