import type { IBuildSelectOptionsParams, ISelectOptionWithChildren, ISelectOptionsWithChildren } from './select-multi-options.types'; import type { ISelectOption } from '../../types'; interface IBuildRangeSelectionParams { /** The range to select, ordered from the anchor towards the endpoint */ optionValues: string[]; /** The options a range selection is allowed to deselect, i.e. the ones currently listed */ replaceableOptionValues: string[]; selectedOptions?: Record; maxSelectable?: number; } export declare const getRangeOptionValues: (options: ISelectOptionWithChildren[], anchorValue: string, endpointValue: string) => string[]; export declare const buildRangeSelection: ({ optionValues, replaceableOptionValues, selectedOptions, maxSelectable }: IBuildRangeSelectionParams) => Record; export declare const buildNewOption: (highlightedOption?: string, createInputPlaceholder?: string) => ISelectOption; export declare const buildSelectOptions: ({ options, allOptions, selectedOptions, highlightedOption, hasAddItem, createInputPlaceholder, level, maxSelectable, selectedCount }: IBuildSelectOptionsParams) => ISelectOptionsWithChildren; export declare const buildSelectOptionsArray: ({ options, allOptions, selectedOptions, highlightedOption, hasAddItem, createInputPlaceholder, level, maxSelectable, selectedCount }: IBuildSelectOptionsParams) => ISelectOptionWithChildren[]; export {};