import { EventEmitter } from '@angular/core'; import { GtrTextareaDataResponse } from './utils/gtr-textarea.types'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class GtrTextareaComponent implements ControlValueAccessor { ngControl: NgControl; constructor(ngControl: NgControl); onChanged: any; onTouched: any; writeValue(obj: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; name: string; dataTransactionName: string; /** * The textarea value */ value: string; /** * The textarea pleaceholder */ placeholder: string; /** * The textarea loading state */ loading: boolean; /** * The textarea label */ textareaLabel: string; /** * The disabled textarea */ disabled: boolean; /** * The wrapper id textarea */ textAreaWrapperId: string; /** * The readonly textarea */ readonly: boolean; /** * The textarea valid boolean */ isValid: boolean; /** * The readonly textarea */ isOnlyView: boolean; /** * The default validation */ defaultValidation?: boolean; /** * The error state */ hasError?: boolean; /** * The is touched */ isTouched: boolean; /** * The error message to be shown */ errorMsg: string; /** * The textarea change eventemitter */ textareaChanged: EventEmitter; /** * The error eventemitter */ handleError: EventEmitter; /** * The textarea data to be send when textarea value changes */ private data; /** * The textarea unique id */ textareaId: string; /** * The component function to handle textarea change */ handleTextarea(event: Event): void; /** * The component function to handle textarea on focus event */ handleOnfocus(): void; /** * The component function to handle textarea on blur event */ handleOnBlur(): void; /** * The component function to verify error textarea messages */ hasErrorValidate: () => void; /** * The componentWillLoad hook */ componentWillLoad(): void; /** * The decorator used to detect every change accurred for textarea and call function on change */ validatetextarea(): string | null; get isShowCustomError(): boolean; get isShowDefaultError(): boolean; get isInputInvalid(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }