import { ElementRef, EventEmitter, AfterViewInit, OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core'; import { NgModel, NgControl } from '@angular/forms'; import { Subscription } from 'rxjs'; import { PrimeNGConfig } from 'primeng/api'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; /** * InputTextarea adds styling and autoResize functionality to standard textarea element. * @group Components */ export declare class InputTextarea implements OnInit, AfterViewInit, OnDestroy { el: ElementRef; ngModel: NgModel; control: NgControl; private cd; config: PrimeNGConfig; /** * When present, textarea size changes as being typed. * @group Props */ autoResize: boolean | undefined; /** * Specifies the input variant of the component. * @group Props */ variant: 'filled' | 'outlined'; /** * Callback to invoke on textarea resize. * @param {(Event | {})} event - Custom resize event. * @group Emits */ onResize: EventEmitter; filled: boolean | undefined; cachedScrollHeight: number | undefined; ngModelSubscription: Subscription | undefined; ngControlSubscription: Subscription | undefined; constructor(el: ElementRef, ngModel: NgModel, control: NgControl, cd: ChangeDetectorRef, config: PrimeNGConfig); ngOnInit(): void; ngAfterViewInit(): void; onInput(e: Event): void; updateFilledState(): void; resize(event?: Event): void; updateState(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_autoResize: unknown; } export declare class InputTextareaModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }