import { AfterViewInit } from "@angular/core"; import { AfterContentInit, EventEmitter, OnDestroy, QueryList, TemplateRef } from "@angular/core"; import { Observable } from "rxjs"; import { CompareWith, PadSafeAny } from "pad-ui-lib/core/type"; import { PadOptionComponent, PadOptionSelectionChange } from "./option.component"; import * as i0 from "@angular/core"; export interface AutocompleteDataSourceItem { value: string; label: string; } export type AutocompleteDataSource = Array; export declare class PadAutocompleteComponent implements AfterContentInit, AfterViewInit, OnDestroy { private readonly _cdr; private readonly _zone; padWidth?: string | number; compareWith: CompareWith; data?: AutocompleteDataSource; autoActiveFirstOption: boolean; backfill: boolean; readonly onSelectedChange: EventEmitter; readonly opened: EventEmitter; private _activeOptionIndex; private _selectionChangeSubscription; /** Provided by content */ contentOptions: QueryList; /** Provided by dataSource */ dataSourceOptions: QueryList; template?: TemplateRef; isOpen: boolean; showPanel: boolean; activeOption: PadOptionComponent | null; get options(): QueryList; readonly optionSelections: Observable; ngAfterContentInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; setVisibility(): void; activeNextOption(): void; activePreviousOption(): void; getOptionDisplay(value: AutocompleteDataSourceItem | string | number): string; getOptionIndex(value: PadSafeAny): number; getOption(value: PadSafeAny): PadOptionComponent | null; getOptionHeight(): number; setActiveOption(index: number): void; clear(skip?: PadOptionComponent | null, deselect?: boolean): void; private _initialize; private _subscribeOptionChanges; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_autoActiveFirstOption: unknown; static ngAcceptInputType_backfill: unknown; }