import { ControlValueAccessor } from '@angular/forms'; import { TextInputInterface } from './text-input.interface'; import { TerraPlacementEnum } from '../../../../../helpers/enums/terra-placement.enum'; import { L10nLocale } from 'angular-l10n'; import * as i0 from "@angular/core"; export declare class TextInputComponent implements ControlValueAccessor, TextInputInterface { _locale: L10nLocale; /** * @description If true, the type of input will be 'password'. * @default false */ isPassword: boolean; /** * @description If true, the input will check if the input is a valid iban. * @default false */ isIban: boolean; /** * @description If true, the value cannot be changed. * @default false */ isReadonly: boolean; /** * @description If true, the button will be disabled. * @Default false. * */ isDisabled: boolean; /** * @description If true, a * indicates that the value is required. * @Default false. * */ isRequired: boolean; /** @description Set the maximum number of allowed characters. */ maxLength: number; /** @description Set the minimum number of required characters. */ minLength: number; /** @description Set the label. */ name: string; /** @description Whether entered text should be an email. **/ email: boolean; /** @description Set the tooltip. */ tooltipText: string; /** * @description Set the tooltip placement (bottom, top, left, right). * @default top * */ tooltipPlacement: TerraPlacementEnum; /** Stores the pattern for the validation. */ pattern: string; /** @description The internal data model */ value: string; /** Stores a callback function which is executed whenever the input was blurred. */ _onTouchedCallback: () => void; /** Stores a callback function which is executed whenever the value of the input changes. */ _onChangeCallback: (_: string) => void; constructor(_locale: L10nLocale); /** @description Registers a callback function that is called when the control's value changes in the UI.*/ registerOnChange(fn: (_: string) => void): void; /** @description Registers a callback function that is called by the forms API on initialization to update the form model on blur. */ registerOnTouched(fn: () => void): void; /** @description Writes a new value to the element.*/ writeValue(value: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }