import { OnInit } from '@angular/core';
import { ControlValueAccessor, FormBuilder, FormGroup } from '@angular/forms';
import { TranslateService } from '@ngx-translate/core';
import { SpeechRecognitionService } from '@seniorsistemas/angular-components/speech-recognition';
import { TextAreaComponent } from '@seniorsistemas/angular-components/text-area';
import { IAssistService } from '../services/IAssist/iassist.service';
import * as i0 from "@angular/core";
export declare class TextAreaIAComponent implements OnInit, ControlValueAccessor {
    private readonly _iassistService;
    private readonly _formBuilder;
    private readonly _translateService;
    speechRecognitionService: SpeechRecognitionService;
    textArea: import("@angular/core").Signal<TextAreaComponent | undefined>;
    private static id;
    id: string;
    label: string;
    placeholder: string;
    prompt: string;
    readonly: boolean;
    rows: number;
    cols: number;
    speechRecognition: boolean;
    keepContext: boolean;
    speechRecognitionPlaceholder: string;
    maxLength: number | null;
    formGroup: FormGroup;
    contextForm: FormGroup;
    isVisible: boolean;
    isLoading: boolean;
    value: string;
    private _onChange?;
    private _onTouched?;
    constructor(_iassistService: IAssistService, // TODO: Mover pra uma pasta global
    _formBuilder: FormBuilder, _translateService: TranslateService, speechRecognitionService: SpeechRecognitionService);
    ngOnInit(): void;
    writeValue(value: string): void;
    registerOnChange(onChange: (value: string) => void): void;
    registerOnTouched(onTouched: () => void): void;
    onValueChange(value: string): void;
    showDialog(): void;
    hideDialog(): void;
    onHideDialog(): void;
    submitContext(): void;
    private _createDialogFormGroup;
    static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaIAComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaIAComponent, "s-text-area-ia", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "prompt": { "alias": "prompt"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "speechRecognition": { "alias": "speechRecognition"; "required": false; }; "keepContext": { "alias": "keepContext"; "required": false; }; "speechRecognitionPlaceholder": { "alias": "speechRecognitionPlaceholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, {}, never, never, false, never>;
}
