import { ExistingProvider, OnDestroy } from "@angular/core"; import { ControlValueAccessor } from "@angular/forms"; import { OnChangeType, OnTouchedType, PadSafeAny } from "pad-ui-lib/core/type"; import { PadAutocompleteComponent } from "./autocomplete.component"; import * as i0 from "@angular/core"; export declare function getPadAutocompleteMissingPanelError(): Error; export declare const PAD_AUTOCOMPLETE_VALUE_ACCESSOR: ExistingProvider; export declare class PadAutocompleteTriggerDirective implements ControlValueAccessor, OnDestroy { private readonly _elementRef; private readonly _overlay; private readonly _vcr; private readonly _document; private readonly _destroyRef; padAutocomplete: PadAutocompleteComponent; private _overlayRef; private _portal; private _positionStrategy; private _previousValue; private _previousOptionValue; private _selectionChangeSubscription; private _overlayOutsideClickSubscription; private _optionsChangeSubscription; onChange: OnChangeType; onTouched: OnTouchedType; panelOpen: boolean; get activeOption(): import("pad-ui-lib/autocomplete").PadOptionComponent | null; ngOnDestroy(): void; writeValue(obj: PadSafeAny): void; registerOnChange(fn: PadSafeAny): void; registerOnTouched(fn: PadSafeAny): void; setDisabledState?(isDisabled: boolean): void; onHandleFocus(): void; onHandleBlur(): void; onHandleKeyDown(event: KeyboardEvent): void; onHandleInput(event: KeyboardEvent): void; openPanel(): void; closePanel(): void; private _attachOverlay; private _getOverlayConfig; private _getOverlayPosition; private _updateStatus; private _resetActiveItem; private _setTriggerValue; private _getConnectedElement; private _getHostWidth; private _subscribeOptionsChange; private _subscribeSelectionChange; private _subscribeOverlayOutsideClick; private _doBackfill; private _canOpen; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }