declare class TextAudioInput extends HTMLElement {
    recordButton: any;
    stopButton: any;
    textInput: any;
    isRecording: boolean;
    recognition: any;
    mediaRecorder: any;
    audioChunks: Array<any>;
    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<void>;
    stopRecording(): void;
}
export default TextAudioInput;
