import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core'; import { AbstractControl, ControlValueAccessor, FormGroupDirective } from '@angular/forms'; import { IconTypes } from '../svg-icon/icon-types'; import { LocalizationService } from '../localization/localization.service'; export declare class TextMaskConfig { mask: Array | ((raw: string) => Array) | false; guide?: boolean; placeholderChar?: string; pipe?: (conformedValue: string, config: TextMaskConfig) => false | string | object; keepCharPositions?: boolean; showMask?: boolean; } export declare class TextFieldComponent implements OnInit, ControlValueAccessor, AfterViewInit { private parentFormGroup; private localizationService; private control; private onChangeFunc; private onTouchedFunc; private textMaskInputElement; private inputElement; input: ElementRef; textarea: ElementRef; type: string; placeholder: string; label: string; disabled: boolean; required: boolean; trailingIcon: IconTypes; leadingIcon: IconTypes; min: number; pattern: string; formControlName: string; formControl: AbstractControl; value: any; textMask: TextMaskConfig; prefix: string; trim: boolean; errorVisible: boolean; size: 'xs' | 'sm' | 'md'; withClearButton: boolean; change: EventEmitter; focus: EventEmitter; blur: EventEmitter; valueChange: EventEmitter; keyDownEvent: EventEmitter; isFocused: boolean; hasErrorsOnFocus: boolean; showPassword: boolean; get className(): string; constructor(parentFormGroup: FormGroupDirective, localizationService: LocalizationService); ngOnInit(): void; ngAfterViewInit(): void; clear(): void; writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; changeValue(value: any, updateViewValue?: boolean): void; onFocus($event: any): void; onBlur($event: any): void; onKeyDown($event: any): void; getErrors(): any[]; private setupMask; get textMaskConfig(): { mask: any[]; guide: boolean; placeholderChar: string; pipe: any; keepCharPositions: boolean; } & TextMaskConfig; }