import { SelectFieldDownshiftItem, SelectFieldOption } from '../types';
import { SectionMeta } from './types';
import { NormalizedPinnedSection } from './usePinnedOptions';
import { NormalizedGroupSection } from './useGroupedOptions';
export declare function mapOptionToDownshiftItem(option: SelectFieldOption): SelectFieldDownshiftItem;
type BuildDownshiftItemsParams = {
    prefixItems?: SelectFieldDownshiftItem[];
    pinnedSections: NormalizedPinnedSection[];
    groupSections: NormalizedGroupSection[];
    ungroupedItems: SelectFieldDownshiftItem[];
};
/**
 * Assembles the flat downshiftItems 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 buildDownshiftItems({ prefixItems, pinnedSections, groupSections, ungroupedItems, }: BuildDownshiftItemsParams): {
    downshiftItems: SelectFieldDownshiftItem[];
    sectionsMeta: SectionMeta[];
};
export {};
