export declare const SELECTED_ITEM_CLASS = "ht-multi-select-editor-item-selected"; /** * Applies visual selection state and checks the checkbox. * * @param {HTMLLIElement} itemElement Dropdown row element. */ export declare function selectItem(itemElement: HTMLLIElement): void; /** * Clears selection classes and unchecks the checkbox. * * @param {HTMLLIElement} itemElement Dropdown row element. */ export declare function deselectItem(itemElement: HTMLLIElement): void; /** * Creates the wrapper div for the search input. */ export declare function createSearchInputWrapper({ root }: { root: Document; }): HTMLDivElement; /** * Creates the search icon element. */ export declare function createSearchIcon({ root }: { root: Document; }): HTMLDivElement; /** * Creates the search input element. */ export declare function createSearchInputElement({ root }: { root: Document; }): HTMLInputElement; /** * Creates the separator line element. */ export declare function createSeparatorElement({ root }: { root: Document; }): HTMLElement; /** * Creates the list element that holds dropdown items. */ export declare function createListElement({ root }: { root: Document; }): HTMLUListElement; /** * Gets the width of the dropdown. */ export declare function getDropdownWidth({ dropdownListElement }: { dropdownListElement: HTMLUListElement; }): number; /** * Deselects all items in the dropdown. */ export declare function deselectAllItems({ dropdownListElement }: { dropdownListElement: HTMLUListElement; }): void; /** * Defocuses the item at the given index. */ export declare function defocusItem({ dropdownListElement, index, }: { dropdownListElement: HTMLUListElement; index: number; }): void; /** * Focuses the item at the given index. */ export declare function focusItemAt({ dropdownListElement, index, }: { dropdownListElement: HTMLUListElement; index: number; }): void; /** * Disables the unchecked checkboxes in the dropdown. */ export declare function disableUncheckedCheckboxes({ dropdownListElement, }: { dropdownListElement: HTMLUListElement; }): void; /** * Enables all checkboxes in the dropdown. */ export declare function enableAllCheckboxes({ dropdownListElement, }: { dropdownListElement: HTMLUListElement; }): void; export interface CreateListItemElementOptions { rootDocument: Document; instanceId: string; itemKey?: string; itemValue: string; indexWithinList: number; checked?: boolean; disabled?: boolean; } /** * Creates a single dropdown row with a checkbox and label. */ export declare function createListItemElement({ rootDocument, instanceId, itemKey, itemValue, indexWithinList, checked, disabled, }: CreateListItemElementOptions): HTMLLIElement;