import * as _angular_core 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 { InputTextPassThrough } from 'primeng/types/inputtext'; import { BaseStyle } from 'primeng/base'; /** * * InputText renders a text field to enter data. * * [Live Demo](https://www.primeng.org/inputtext/) * * @module inputtextstyle * */ declare enum InputTextClasses { /** * The class of root element */ root = "p-inputtext" } declare class InputTextStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-filled': any; 'p-inputtext-sm': boolean; 'p-inputtext-lg': boolean; 'p-invalid': any; 'p-variant-filled': boolean; 'p-inputtext-fluid': any; })[]; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } interface InputTextStyle extends BaseStyle { } /** * InputText directive is an extension to standard input element with theming. * @group Components */ declare class InputText extends BaseModelHolder { hostName: any; /** * Used to pass attributes to DOM elements inside the InputText component. * @defaultValue undefined * @deprecated use pInputTextPT instead. * @group Props */ ptInputText: _angular_core.InputSignal; /** * Used to pass attributes to DOM elements inside the InputText component. * @defaultValue undefined * @group Props */ pInputTextPT: _angular_core.InputSignal; /** * Indicates whether the component should be rendered without styles. * @defaultValue undefined * @group Props */ pInputTextUnstyled: _angular_core.InputSignal; bindDirectiveInstance: Bind; $pcInputText: InputText | undefined; ngControl: NgControl | null; pcFluid: Fluid | null; /** * Defines the size of the component. * @group Props */ pSize: 'large' | 'small'; /** * Specifies the input variant of the component. * @defaultValue undefined * @group Props */ variant: _angular_core.InputSignal<"filled" | "outlined" | undefined>; /** * 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<"filled" | "outlined" | null>; _componentStyle: InputTextStyle; constructor(); onAfterViewInit(): void; onAfterViewChecked(): void; onDoCheck(): void; onInput(): void; get hasFluid(): boolean; get dataP(): string | undefined; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class InputTextModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { InputText, InputTextClasses, InputTextModule, InputTextStyle };