import { OnInit, OnDestroy, ElementRef, OnChanges, ChangeDetectorRef, EventEmitter, SimpleChanges, QueryList, Renderer2, AfterViewInit, TemplateRef } from '@angular/core'; import { FormControl, ControlValueAccessor } from '@angular/forms'; import { BehaviorSubject, Observable } from 'rxjs'; import { MatAutocomplete, MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material/autocomplete'; import { MatChipInputEvent, MatChipList } from '@angular/material/chips'; import { CdkDropList } from '@angular/cdk/drag-drop'; import { BaseDirective } from '../../base.directive'; import { EuiAutoCompleteItem } from './models/eui-autocomplete-item.model'; import { EuiChip } from '../eui-chip/models/eui-chip.model'; import { EuiChipDragDrop } from '../eui-chip-list'; import { EuiTemplateDirective } from '../../directives'; import * as i0 from "@angular/core"; export declare class EuiAutocompleteComponent extends BaseDirective implements OnInit, OnDestroy, ControlValueAccessor, OnChanges, AfterViewInit { private cd; protected _renderer: Renderer2; get hasChips(): boolean; set hasChips(value: boolean); _hasChips: boolean; get async(): boolean; set async(value: boolean); _async: boolean; autocompleteData: EuiAutoCompleteItem[]; autocompleteDataSelected: EuiAutoCompleteItem[]; get addOnBlur(): boolean; set addOnBlur(value: boolean); _addOnBlur: boolean; get isFreeValueAllowed(): boolean; set isFreeValueAllowed(value: boolean); _isFreeValueAllowed: boolean; get isDuplicateValueAllowed(): boolean; set isDuplicateValueAllowed(value: boolean); _isDuplicateValueAllowed: boolean; chipsSortOrder: ('ASC' | 'DESC'); itemsSortOrder: ('ASC' | 'DESC'); placeholder: string; matching: ('startWith' | 'contains'); chipsPosition: ('top' | 'bottom' | 'inside'); panelWidth: number; classList: string; groupBy: string; get isLoading(): boolean; set isLoading(value: boolean); _isLoading: boolean; get isChipsRemovable(): boolean; set isChipsRemovable(value: boolean); _isChipsRemovable: boolean; get maxVisibleChipsCount(): any; set maxVisibleChipsCount(value: any); _maxVisibleChipsCount: any; get chipsLabelTruncateCount(): any; set chipsLabelTruncateCount(value: any); _chipsLabelTruncateCount: any; get isMaxVisibleChipsOpened(): boolean; set isMaxVisibleChipsOpened(value: boolean); _isMaxVisibleChipsOpened: boolean; get readonly(): boolean; set readonly(value: boolean); _readonly: boolean; toggleLinkMoreLabel: string; toggleLinkLessLabel: string; get isChipsSorted(): boolean; set isChipsSorted(value: boolean); _isChipsSorted: boolean; get isItemsSorted(): boolean; set isItemsSorted(value: boolean); _isItemsSorted: boolean; get isChipsDragAndDrop(): boolean; set isChipsDragAndDrop(value: boolean); _isChipsDragAndDrop: boolean; dragAndDropSourceName: string; dragAndDropConnectedTo: string[]; closed: EventEmitter; opened: EventEmitter; selectionChanged: EventEmitter; itemAdded: EventEmitter; itemRemoved: EventEmitter; inputChanged: EventEmitter; chipDragStarted: EventEmitter; chipDragReleased: EventEmitter; chipDropped: EventEmitter; clear: EventEmitter; get cssClasses(): string; euiAutocompletePrependContent: QueryList; euiAutocompleteAppendContent: QueryList; templates: QueryList; autocompleteInput: ElementRef; autocompleteInputTrigger: MatAutocompleteTrigger; matAutocomplete: MatAutocomplete; autocompleteOptionTemplate: TemplateRef; autocompleteOptGroupTemplate: TemplateRef; separatorKeysCodes: number[]; autocompleteControl: FormControl; autocompleteOptions: BehaviorSubject; chips: EuiChip[]; chipsListComponent: MatChipList; distinctOptionGroups: string[]; groupedItems: { [id: string]: Observable; }; private destroy$; private nbClick; private ignoreOpenCloseEvents; constructor(cd: ChangeDetectorRef, _renderer: Renderer2); ngOnChanges(c: SimpleChanges): void; ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; add(event: MatChipInputEvent): void; onOptionSelected(event: MatAutocompleteSelectedEvent): void; onChipRemove(e: { chips: EuiChip[]; removed: EuiChip; }): void; chipsInit(e: { chipList: MatChipList; chipsListDragAndDropItems: CdkDropList; }): void; onClick(e: Event): void; resetNbClick(e: FocusEvent): void; trackByFn(index: number, item: EuiAutoCompleteItem): number; onClose(): void; onOpen(): void; updatePosition(): void; writeValue(value: any): void; setDisabledState(isDisabled: boolean): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; clearInput(): void; onChipDropped(e: any): void; onChipDragStarted(e: any): void; onChipDragReleased(e: any): void; private onChange; private onTouch; private readonlyHandler; private _filter; private mapAsChip; private generateId; private orderItems; private groupingHandler; static ɵfac: i0.ɵɵFactoryDef; static ɵcmp: i0.ɵɵComponentDefWithMeta; } export declare class EuiAutocompletePrependContentDirective { static ɵfac: i0.ɵɵFactoryDef; static ɵdir: i0.ɵɵDirectiveDefWithMeta; } export declare class EuiAutocompleteAppendContentDirective { static ɵfac: i0.ɵɵFactoryDef; static ɵdir: i0.ɵɵDirectiveDefWithMeta; }