import * as _angular_core 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'; 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: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * * Textarea is a multi-line text input element. * * [Live Demo](https://www.primeng.org/textarea/) * * @module textareastyle * */ declare enum TextareaClasses { /** * Class name of the root element */ root = "p-textarea" } /** * Textarea adds styling and autoResize functionality to standard textarea element. * @group Components */ 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: _angular_core.InputSignal; /** * Indicates whether the component should be rendered without styles. * @defaultValue undefined * @group Props */ pTextareaUnstyled: _angular_core.InputSignal; /** * When present, textarea size changes as being typed. * @group Props */ autoResize: _angular_core.InputSignalWithTransform; /** * Defines the size of the component. * @group Props */ pSize: _angular_core.InputSignal; /** * Specifies the input variant of the component. * @defaultValue undefined * @group Props */ variant: _angular_core.InputSignal; /** * Spans 100% width of the container when enabled. * @defaultValue undefined * @group Props */ fluid: _angular_core.InputSignalWithTransform; /** * When present, it specifies that the component should have invalid state style. * @defaultValue false * @group Props */ invalid: _angular_core.InputSignalWithTransform; $variant: _angular_core.Signal; /** * Callback to invoke on textarea resize. * @param {(Event | {})} event - Custom resize event. * @group Emits */ onResize: _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: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class TextareaModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { Textarea, TextareaClasses, TextareaModule, TextareaStyle };