import * as i0 from "@angular/core"; import { DestroyRef } from "@angular/core"; import { NgControl } from "@angular/forms"; import { BaseModelHolder } from "primeng/basemodelholder"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { Fluid } from "primeng/fluid"; import { InputSize, InputVariant } from "primeng/types/shared"; import { TextareaPassThrough } from "primeng/types/textarea"; import { BaseStyle } from "primeng/base"; export declare class TextareaStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-filled': any; 'p-textarea-resizable ': any; 'p-variant-filled': boolean; 'p-textarea-fluid': any; 'p-inputfield-sm p-textarea-sm': boolean; 'p-textarea-lg p-inputfield-lg': boolean; 'p-invalid': any; })[]; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * Textarea is a multi-line text input element. * * [Live Demo](https://www.primeng.org/textarea/) * * @module textareastyle * */ export declare enum TextareaClasses { /** * Class name of the root element */ root = "p-textarea" } /** * Textarea adds styling and autoResize functionality to standard textarea element. * @group Components */ export declare class Textarea extends BaseModelHolder { componentName: string; bindDirectiveInstance: Bind; $pcTextarea: Textarea | undefined; /** * Used to pass attributes to DOM elements inside the Textarea component. * @defaultValue undefined * @group Props */ pTextareaPT: import("@angular/core").InputSignal; /** * Indicates whether the component should be rendered without styles. * @defaultValue undefined * @group Props */ pTextareaUnstyled: import("@angular/core").InputSignal; /** * When present, textarea size changes as being typed. * @group Props */ autoResize: import("@angular/core").InputSignalWithTransform; /** * Defines the size of the component. * @group Props */ pSize: import("@angular/core").InputSignal; /** * Specifies the input variant of the component. * @defaultValue undefined * @group Props */ variant: import("@angular/core").InputSignal; /** * Spans 100% width of the container when enabled. * @defaultValue undefined * @group Props */ fluid: import("@angular/core").InputSignalWithTransform; /** * When present, it specifies that the component should have invalid state style. * @defaultValue false * @group Props */ invalid: import("@angular/core").InputSignalWithTransform; $variant: import("@angular/core").Signal; /** * Callback to invoke on textarea resize. * @param {(Event | {})} event - Custom resize event. * @group Emits */ onResize: import("@angular/core").OutputEmitterRef<{} | Event>; get hasFluid(): boolean; _componentStyle: TextareaStyle; ngControl: NgControl | null; pcFluid: Fluid | null; destroyRef: DestroyRef; constructor(); onInit(): void; onAfterViewInit(): void; onAfterViewChecked(): void; onInput(e: Event): void; resize(event?: Event): void; updateState(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class TextareaModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }