import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { ControlValueAccessor, NgModel, Validator, ValidatorFn, AbstractControl, ValidationErrors } from '@angular/forms'; import { SizeType } from '../../../../types/size.type'; import { GeneralActionInterface } from '../../../../models/general-action.interface'; import * as i0 from "@angular/core"; export interface DropdownTextInputComponentPropsInterface { options?: DropdownTextInputOptionInterface[]; defaultDropdownValue?: string; id?: string; placeholder?: string; size?: SizeType; readonly?: string; disabled?: boolean; tabIndex?: string | number; onlyNumber?: boolean; maxlength?: number; textBoxType?: string; mask?: string; } export interface DropdownTextInputOptionInterface extends Omit { validators?: ValidatorFn[]; } export type DropdownTextBoxType = { dropdownValue: any; textBoxValue: string; }; export declare class DropdownTextInputComponent implements OnChanges, ControlValueAccessor, Validator, DropdownTextInputComponentPropsInterface { _value: DropdownTextBoxType; disabled: boolean; options: DropdownTextInputOptionInterface[]; defaultDropdownValue?: string; id?: string; placeholder?: string; size?: SizeType; readonly?: string; required?: boolean; tabIndex?: string | number; onlyNumber?: boolean; maxlength?: number; textBoxType?: string; mask?: string; changeCallback: EventEmitter; enterCallback: EventEmitter; blurCallback: EventEmitter; focusCallback: EventEmitter; keyDownCallback: EventEmitter; txtInput: NgModel; selectedDropdown?: DropdownTextInputOptionInterface; subMenuItems: GeneralActionInterface[]; ngOnChanges(changes: SimpleChanges): void; initializeSelectedValue(): void; get value(): DropdownTextBoxType; set value(val: DropdownTextBoxType); onChange: any; onTouched: any; writeValue(value: DropdownTextBoxType): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; filterTypeChangeHandler(item: DropdownTextInputOptionInterface): void; changeHandler(): void; menuClickHandler(event: Event): void; validate(control: AbstractControl): ValidationErrors; enterHandler(event: Event): void; blurHandler(event: Event): void; focusHandler(event: Event): void; keyDownHandler(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }