declare class TextAudioInput extends HTMLElement {
recordButton: any;
stopButton: any;
textInput: any;
isRecording: boolean;
recognition: any;
mediaRecorder: any;
audioChunks: Array;
isLoading: boolean;
endpoint: string;
headers: any;
constructor();
static get observedAttributes(): string[];
attributeChangedCallback(name: string, oldValue: string | null, newValue: string): void;
render(): void;
initializeSpeechRecognition(): any;
startListening(): void;
stopListening(): void;
startRecording(): Promise;
stopRecording(): void;
}
export default TextAudioInput;