import type { SelectOption as MultiSelectOption, SelectOptionBase as MultiSelectOptionBase } from "./types";
/** Flatten grouped options into a flat lookup array. */
export declare function flattenOptions(options: MultiSelectOption[]): MultiSelectOptionBase[];
/** Check if any option is a group. */
export declare function hasGroups(options: MultiSelectOption[]): boolean;
/** Convert options to base-ui `items` format for filtering support. */
export declare function toBaseUiItems(options: MultiSelectOption[]): string[] | {
    label: string;
    items: string[];
}[];
/** Build the effective items array, appending a "Create" entry when needed. */
export declare function computeEffectiveItems(children: unknown, baseUiItems: string[] | {
    label: string;
    items: string[];
}[] | undefined, showCreateOption: boolean, isGrouped: boolean, trimmedInput: string): string[] | {
    label: string;
    items: string[];
}[] | undefined;
