import { EventEmitter, ChangeDetectorRef } from '@angular/core'; import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator, ValidatorFn } from '@angular/forms'; import { CdkTextareaAutosize } from '@angular/cdk/text-field'; import * as i0 from "@angular/core"; export declare class CustomTextareaComponent implements ControlValueAccessor, Validator { private cdr; lang: string; label: string; name: string; disabled: boolean; required: boolean; minLength?: number; maxLength?: number; pattern?: string | RegExp; customValidator?: ValidatorFn; nzAutosize: boolean; autosize?: CdkTextareaAutosize; errorMessages: { [key: string]: string; }; valueChange: EventEmitter; focus: EventEmitter; blur: EventEmitter; value: string; isFocused: boolean; private touched; private onChange; private onTouched; private control; private onValidatorChange; get currentErrorMessage(): string; get showError(): boolean; constructor(cdr: ChangeDetectorRef); writeValue(value: string): void; registerOnChange(fn: (value: string) => void): void; registerOnTouched(fn: () => void): void; registerOnValidatorChange(fn: () => void): void; setDisabledState(isDisabled: boolean): void; onBlur(): void; handleValueChange(value: string): void; validate(control: AbstractControl | null): ValidationErrors | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }