import { OutputEmitterRef } from '@angular/core'; import { BaseDirective } from '../directives'; import { BaseActions, BaseProps } from '../directives'; import { SizeOption } from '../types'; import * as i0 from "@angular/core"; /** * @TailwindNG Input component interface. * @NOTE This directive can only be used on the follwing input types: * - text * - password * - email * - number * - tel * - url */ export interface InputText extends BaseProps, BaseActions { /** * The input's size. */ readonly size: SizeOption; /** * The input's value. */ readonly value: string; /** * The input's normalized value. */ readonly normalizedValue: string; /** * Whether the input is valid. */ readonly isValid: boolean; /** * Whether the input is empty. */ readonly isEmpty: boolean; /** * Emits the input's value when it changes. */ readonly valueChange: OutputEmitterRef; /** * Emits the input's value when it changes. */ readonly changes: OutputEmitterRef; clear(): void; } export interface InputConfig extends Partial> { className?: string; } export declare const INPUT_TEXT_CONFIG: import("@angular/core").InjectionToken; export declare function isInputText(component: unknown): component is InputText; export declare abstract class InputTextBase extends BaseDirective implements InputText { size: SizeOption; set value(value: string); get value(): string; get isValid(): boolean; get isEmpty(): boolean; get normalizedValue(): string; valueChange: OutputEmitterRef; changes: OutputEmitterRef; clear(): void; protected onChange(event: Event): void; protected onInput(event: Event): void; protected addEventListeners(): void; protected removeEventListeners(): void; protected onKeyboardEvent(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }