import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core"; import { ControlValueAccessor, FormControl, FormGroup } from "@angular/forms"; import { Subscription } from "rxjs"; import { TKwikUITextareaSize } from "./textarea.definitions"; import * as i0 from "@angular/core"; export declare class KwikUITextareaComponent implements OnInit, OnChanges, ControlValueAccessor { disabled: boolean; focus: boolean; formControl: FormControl; formControlName: string; id: string; invalid: boolean; isShowLabelOutside: boolean; label: string; placeholder: string; properties: { readOnly: boolean; maxLength: any; rows: any; expandable: boolean; }; size: TKwikUITextareaSize; validators: { required: boolean; }; getKeyValue: EventEmitter; formGroup: FormGroup; subscriptions: Subscription; constructor(); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; /** * @description Handles setting up of error and focus on the textarea field is it invalid * * @param {string} key - Key represents attribute name of button. * @param {string} value - Value represents attribute value received from the textarea. */ private validateInputProperty; /** * @description Handles setting up of error and focus on the textarea field is it is invalid */ setDisabled(): void; /** * @description Handles setting up of error and focus on the textarea field is it is invalid */ setError(): void; /** * @description Handles firing of 2 events on (keyup) event * * @param value */ handleInputValueChange(value: any): void; handleFocusedChange(e: any): void; emitEvent(event: any, data: any): void; /** Method Implementations for Abstract Control */ writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }