import { AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, OnDestroy, Renderer2 } from "@angular/core"; import { NgControl } from "@angular/forms"; import { SpsActionDescriptor } from "@spscommerce/ds-shared"; import { RxEventually } from "@spscommerce/ng-utils"; import { SpsFormControlComponent } from "../forms/sps-form-control.abstract.component"; export declare class SpsSelectComponent extends SpsFormControlComponent implements AfterViewInit, DoCheck, OnDestroy { protected _changeDetector: ChangeDetectorRef; static readonly displayName = "sps-select"; static readonly props: { options: { type: string; required: boolean; }; action: string; notClearable: string; placeholder: string; searchPlaceholder: string; zeroState: string; textKey: string; captionKey: string; searchDebounce: string; }; private static _instances; options: RxEventually> | ((filter?: string) => RxEventually>); action: SpsActionDescriptor; notClearable: any; placeholder: string; searchPlaceholder: string; zeroState: string; textKey: string; captionKey: string; searchDebounce: number; readonly spsSelectClass = true; private _controlButton; private _dropdown; search: string; readonly isClearable: boolean; isAsync: any; /** Whether the dropdown is open */ isOpen: any; /** Whether the dropdown goes up from the drop control button instead of down as usual */ opensUpward: any; value: T; readonly text: any; constructor(_changeDetector: ChangeDetectorRef, _el: ElementRef, _renderer: Renderer2, _ngControl: NgControl); static _onDocumentClick(event: MouseEvent): void; ngDoCheck(): void; ngOnDestroy(): void; _onClick(event: MouseEvent): void; _onClearIconClick(event: MouseEvent): void; selectOption(option: T): void; _onKeyDown(event: KeyboardEvent): void; private _updateFocus; setDisabledState(isDisabled: boolean): void; }