import type { SelectItem, SelectOption, SelectOptionsGroup, SelectOptionWithNodeLabel, SelectOptionWithTextLabel } from "../components/select/Select"; export type OptionsSegment = { options: SelectOption[]; type: "options"; }; export type GroupSegment = { disabled?: boolean; label: string; options: SelectOption[]; type: "group"; }; export type Segment = GroupSegment | OptionsSegment; export declare function getDataAttributes(option: SelectOption): Record; export declare function isGroup(item: SelectItem): item is SelectOptionsGroup; export declare function normalizeOptions(items: SelectItem[]): Segment[]; export declare function getSelectableOptionsFromSegments(segments: Segment[]): Array; export declare function getIndexByLetter(options: SelectOption[], searchString: string, startIndex?: number): number; //# sourceMappingURL=selectUtils.d.ts.map