import { OnInit, QueryList, AfterContentInit, ElementRef, Renderer2 } from '@angular/core'; import { PgDropDownItemDirective } from './pg-drop-down-item.directive'; import { PgFieldComponent } from '../pg-field/pg-field.component'; import { NgControl, FormGroupDirective } from '@angular/forms'; import { AnimationService } from '../core/ui/animation.service'; import * as i0 from "@angular/core"; export interface DropDownItem { displayText: string; searchableTerms: string[]; value: any; id: string; } export declare class PgDropDownComponent implements OnInit, AfterContentInit { pgField: PgFieldComponent; private _animate; private _elementRef; private _renderer; formGroup: FormGroupDirective; _classPgDropDown: boolean; _role: string; _itemChildren: QueryList; _dropDownItemViewChildren: QueryList; /** Manages keyboard events for options in the panel. */ _isFocusedSelect(event: KeyboardEvent): void; _expanded: boolean; focusedIndex: number; currentlyFocusedItem: ElementRef; _globalPromise: Promise; ngControl: NgControl; dropDownItems: DropDownItem[]; displayElement: HTMLInputElement; get controlValue(): any; protected _valueSelected: boolean; private readonly maxHeight; constructor(pgField: PgFieldComponent, _animate: AnimationService, _elementRef: ElementRef, _renderer: Renderer2, formGroup: FormGroupDirective); ngOnInit(): void; ngAfterContentInit(): void; formatDisplayText(display: any): any; handleItemClicked(item: DropDownItem): void; activateNextItem(): void; activatePreviousItem(): void; private _setValue; private _isMatch; private _isExactMatch; private _resetActiveItemsInDropDown; private _getDropDownItems; _reconcileDropDownDisplayState(): Promise; private _selectValueFromRemaining; private _updateDropDownItems; private _expandDropdown; private _collapseDropdown; static ɵfac: i0.ɵɵFactoryDef; static ɵcmp: i0.ɵɵComponentDefWithMeta; }