import { OnDestroy, OnInit, ChangeDetectorRef, EventEmitter } from '@angular/core'; import { ControlValueAccessor, FormGroupDirective, FormControl, NgControl } from '@angular/forms'; import { Observable } from 'rxjs'; import { MatFormFieldAppearance } from '@takkion/material/form-field'; import { MatOptionSelectionChange, ThemePalette } from '@takkion/material/core'; import { TakAutocompleteFieldType } from '../fields.common'; import * as i0 from "@angular/core"; export declare class TakAutocompleteFieldComponent implements OnInit, OnDestroy, ControlValueAccessor { private _ngControl; private _formGroupDirective; private _cd; private _unsubscribe$; option: string; extraInfo: string; autocomplete: TakAutocompleteFieldType; appearance: MatFormFieldAppearance; color: ThemePalette; hasClearButton: boolean; suggestions: any[]; disabled: boolean; hasTitle: boolean; isLoading: boolean; isRemoteSearch: boolean; debounceTimeForRemoteSearch: number; onSelect: EventEmitter; onSearch: EventEmitter; onChangeFn: (_: any) => void; onTouchFn: (_: any) => void; private _isSubmitted; private _isInvalid; private _required; private _value; private _filteredOptions; private _notSuggestions; private _lastValue; constructor(_ngControl: NgControl, _formGroupDirective: FormGroupDirective, _cd: ChangeDetectorRef); ngOnInit(): void; private _filter; writeValue(value: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; onChange(event: any): void; private _setValue; emit(el: MatOptionSelectionChange): void; emitWithClick(suggestionOption: any): void; onFocusout(): void; setValue(value: any): void; onUpdateSuggestions(suggestions: any[]): void; private _onValidate; onFocus(): void; onClearControl(): void; ngOnDestroy(): void; get control(): FormControl; get directive(): FormGroupDirective; get isDisabled(): boolean | null; get isSubmitted(): boolean; get isInvalid(): boolean; get required(): boolean; get value(): string; get filteredOptions(): Observable; get notSuggestions(): boolean; get lastValue(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }