import { SelectFieldOption } from '../../beta/components/SelectField/types';
import { SectionMeta, SelectItem } from '../types/selectFieldInternalTypes';
import { NormalizedPinnedSection } from '../hooks/usePinnedOptions';
import { NormalizedGroupSection } from '../hooks/useGroupedOptions';
export declare function toSelectItem(option: SelectFieldOption): SelectItem;
type BuildSelectItemsParams = {
    prefixItems?: SelectItem[];
    pinnedSections: NormalizedPinnedSection[];
    groupSections: NormalizedGroupSection[];
    ungroupedItems: SelectItem[];
};
/**
 * Assembles the flat items array and sectionsMeta.
 * Order: prefixItems → pinned sections → group sections → ungrouped items.
 * Multi-select hooks pass bulk action items (select-all / select-filtered) as prefixItems;
 * single-select hooks omit it.
 */
export declare function buildSelectItems({ prefixItems, pinnedSections, groupSections, ungroupedItems, }: BuildSelectItemsParams): {
    items: SelectItem[];
    sectionsMeta: SectionMeta[];
};
export {};
