import { AfterViewInit, EventEmitter, Injector, OnInit } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { SelectItem } from 'tn-custom-primeng/api';
import { ComponentBase } from '../../classes/base/component-base';
import { AutoCompletePickerControlSchema, CrudListSetting, DropdownOptions, PopupSize } from '../../classes/form-schema';
import { ControlTreeNode } from '../crud/crud-form/crud-form.component';
import { EntityPickerBoxComponent } from '../entity-picker/entity-picker-box/entity-picker-box.component';
import { AdvanceDataEntityPicker } from '../entity-picker/model/advance-data';
export declare class AutoCompletePickerComponent extends ComponentBase implements OnInit, AfterViewInit, ControlValueAccessor {
    entityPickerBoxComponent: EntityPickerBoxComponent;
    autoComplete: any;
    onChangeBase: Function;
    onTouched: Function;
    currentNode: ControlTreeNode;
    control: AutoCompletePickerControlSchema;
    disabled: boolean;
    popupSize: PopupSize;
    _readOnlyValues: string[];
    set readOnlyValues(value: string[] | string | any);
    get readOnlyValues(): string[] | string | any;
    onInit: EventEmitter<any>;
    onSelect: EventEmitter<any>;
    onUnSelect: EventEmitter<any>;
    onChanged: EventEmitter<any>;
    onFocus: EventEmitter<any>;
    onBlur: EventEmitter<any>;
    onReady: EventEmitter<any>;
    setting: CrudListSetting;
    advanceData: AdvanceDataEntityPicker;
    value: any;
    funcReturnValue: (value: any) => {};
    selectedValue: any;
    selectedRowData: any;
    selectedValueObject: any;
    dataSource: any[];
    funcCheckReadOnlyItem: (item: any) => void;
    keyword: string;
    fieldSearchText: string[];
    results: any[];
    showFormPicker: boolean;
    dirty: boolean;
    tooltip: string;
    hasValue: boolean;
    isFiredReady: boolean;
    private getFilterOnSearch?;
    private _translateService;
    constructor(injector: Injector);
    ngAfterViewInit(): void;
    ngOnInit(): void;
    updateFuncCheckReadOnlyItem(): void;
    setDefaultSetting(): void;
    buildFilterKeyword(): void;
    buildSettingEntityPicker(): void;
    getFields(): string;
    getDropdownOptions(pageSize?: number): DropdownOptions;
    showPickForm(): Promise<void>;
    getData(): Promise<any[]>;
    private fireEventAfterGetDataDropDown;
    resetControl(): void;
    clearDatasource(): void;
    search(event: any): void;
    handleContentLeftInit(crudList: any): void;
    handleContentRightInit(crudList: any): void;
    clearValue(): void;
    handleSelect(item: any): void;
    handleUnSelect($event: any): void;
    handleFocus(evt: any): void;
    handleBlur($event: any): void;
    handleKeyUp(evt: any): void;
    handleRowSelect(item: any): void;
    handleSelectEntity(evt: any): void;
    handleUnSelectEntity(evt: any): void;
    handleChangeEntity(evt: any): void;
    getValueReturn(): {};
    _funcCheckReadOnlyItem(item: any): void;
    updateReadOnlyItem(): void;
    updateSelectedValue(): void;
    updatePureValue(): void;
    fireChangeEvent(): void;
    handleHide(evt: any): Promise<void>;
    onClickSubmitButton(evt: any, entityPickerBox: EntityPickerBoxComponent): void;
    private reStructureDataSource;
    reStructureItemObject(item: any): SelectItem;
    getDataSelectedValue(obj: any): Promise<unknown>;
    writeValue(obj: any): void;
    checkFireReady(): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
}
//# sourceMappingURL=autocomplete-picker.component.d.ts.map