import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { ControlValueAccessor, FormControl } from '@angular/forms'; import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; export interface IAucompleteItem { key: string; value: string; customValue?: string; } export declare class AutocompleteComponent implements OnInit, OnChanges, OnDestroy, ControlValueAccessor { private cdr; id: string; label: string; tooltip: string; required: boolean; disabled: boolean; formControl: FormControl; errorMessages: { [key: string]: string; }; get items(): IAucompleteItem[]; set items(values: IAucompleteItem[]); search$: Subject; _open: boolean; private _items; private value; private unsubscribe$; private open$; private close$; filteredItems: IAucompleteItem[]; onChange: (value: string) => void; onTouched: () => void; constructor(cdr: ChangeDetectorRef); ngOnInit(): void; private initFormControl; ngOnChanges(changes: SimpleChanges): void; get open(): import("rxjs").Observable; get close(): import("rxjs").Observable; ngOnDestroy(): void; writeValue(value: string): void; registerOnChange(fn: (value: string) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; opened(): void; closed(): void; trackByFn(index: number, item: IAucompleteItem): number | string; selectItem(item: IAucompleteItem): void; _search(value: any): void; private filter; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }