import { type SelectOptionGroup } from "../SelectOptionGroup";
export type SelectOptionSectionItem<TOption> = {
    readonly option: TOption;
    readonly index: number;
};
export type SelectOptionSection<TOption> = {
    readonly group: SelectOptionGroup | undefined;
    readonly items: readonly SelectOptionSectionItem<TOption>[];
};
/**
 * Собирает соседние опции с одинаковым group key в секции, сохраняя исходные индексы для клавиатурной навигации listbox.
 */
export declare function createSelectOptionSections<TOption>(options: readonly TOption[], getOptionGroup: (option: TOption) => SelectOptionGroup | undefined): readonly SelectOptionSection<TOption>[];
//# sourceMappingURL=createSelectOptionSections.d.ts.map