import React from 'react'; import { ButtonProps, TooltipProps } from '@patternfly/react-core'; export interface MicrophoneButtonProps extends ButtonProps { /** Boolean check if the browser is listening to speech or not */ isListening: boolean; /** Class Name for the Microphone button */ className?: string; /** Callback to update the value of isListening */ onIsListeningChange: React.Dispatch>; /** Callback to update the message value once speech recognition is complete */ onSpeechRecognition: React.Dispatch>; /** Props to control the PF Tooltip component */ tooltipProps?: TooltipProps; } export declare const MicrophoneButton: React.FunctionComponent; export default MicrophoneButton;