import { FieldValue } from '../../../main'; import { BaseSelectOption } from "./base-select.types"; import CommonFormSelectors from '../../../shared/utils/common-form-selectors'; export default class BaseSelect extends CommonFormSelectors { protected readonly optionSelector: string; protected _value: BaseSelectOption | null; protected el: HTMLInputElement | null; protected options: BaseSelectOption[]; protected elList: HTMLElement | null; protected elParent: HTMLElement | null; protected elListItems: HTMLElement[]; constructor(selector: string | HTMLInputElement); init(selector: string | HTMLInputElement): this; initElements(selector: string | HTMLInputElement): this; initOptions(): this; initListeners(): this; removeActiveClassesFromAllItems(): void; toggleActiveItemClass(): this; getOptionValue(el: HTMLElement): T | null; findOption(value: T): BaseSelectOption | null; updateTriggerText(): this; updateValue(): void; get value(): T | null; set value(newValue: T | null); }