import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core'; import { ControlValueAccessor, FormBuilder, FormControl } from '@angular/forms'; import { Overlay } from '@angular/cdk/overlay'; import { TranslateService } from '@ngx-translate/core'; import { OverlayComponent } from '../../classes/overlay.component'; import * as i0 from "@angular/core"; export type SubChoice = { label: string; value: any; }; export declare class AutocompleteComponent extends OverlayComponent implements AfterViewInit, ControlValueAccessor, OnChanges { private formBuilder; private change; private translate; input: ElementRef | undefined; list: ElementRef | undefined; wrapper: ElementRef | undefined; overlayContent: TemplateRef | undefined; protected inputControl: FormControl; protected fixedOptionsItems: any[]; protected filteredOptions: any[]; protected paginatedFilteredOptions: any[]; protected selectedOption?: any; protected selection: any[]; protected closed: boolean; protected chipsCollapsed: boolean; protected checkAllValue: boolean; protected disabled: boolean; protected showChips: boolean; protected showAllSelectionBtn: boolean; protected showPlaceholder: boolean; protected showExpandedSelectionActions: boolean; protected showSelectAllCheckbox: boolean; protected chipsContainerClasses: { '-two': boolean; '-three': boolean; '-four': boolean; '-many': boolean; }; protected optionsSelected: { [key: string | number]: boolean; }; private changed; private _overlayRef; private _portal; private _destroy; private readonly ITEMS_PER_PAGE; private _pageNumber; _selectAllMessage: string; private scrollSub?; filterFn?: (item: string) => any[]; displayFn?: (item: any) => string; multiple: boolean; maxOptions: number; valueProp: string; options: any[]; fixedOptions: any[]; placeholder: string; emptyMessage: string; selectAll: boolean; allOptionsSelectedText: string | null; selectAllMessage: any; iconPropReference?: string; enableRemove: boolean; title?: string; chipBackgroundOrangeGradient: boolean; keepChipsUncollapsed: boolean; subChoices: SubChoice[] | null; subChoice: SubChoice | null; subChoiceChange: EventEmitter; subChoiceSelectorTitle: string; subChoiceSelectorSubtitle: string; position: 'above' | 'below'; itemCheck: EventEmitter; selectionDone: EventEmitter; optionRemoved: EventEmitter; constructor(formBuilder: FormBuilder, overlay: Overlay, viewContainerRef: ViewContainerRef, change: ChangeDetectorRef, translate: TranslateService); ngAfterViewInit(): void; private checkFixedOptions; get isAllOptionsSelected(): boolean; ngOnChanges(changes: SimpleChanges): void; private handleInputChange; private handleSelectionChange; private updateChipsContainerClasses; handleOptionSelected(item: any): void; handleAutocompleteClick(event?: Event): void; protected handleChipsListActionClick(event: Event): void; showOptions(): void; hideOptions(cleanInput?: boolean): void; afterClosed(): void; shouldClose(event: Event): boolean; get selectedOptions(): any[]; handleSelectAll(checked: boolean): void; valueChange(value: boolean, option?: any): void; shouldProcessMaxOptions(option: any, value: boolean): boolean; selectAllOptions(selected: boolean): void; handleChipAction(option: any): void; setSubChoice(subChoice: SubChoice): void; display(option: any): string | undefined; getMoreItems(firstLoad?: boolean): void; sortSelectedFirst(items: Array, selectedItems: Array, prop: string): void; protected updateValidation(): void; writeValue(obj: any[] | any): void; onChange: (_: any) => void; registerOnChange(fn: any): void; onTouched: () => void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }