import { DropdownFilter, DropdownOption, DropdownProps } from './Dropdown.types'; /** An option normalized for base-ui: a stable key plus its value and label. */ export type DropdownItem = { key: string; value: string; label: string; }; /** Reads a value string from a selection item: a bare string or `{ value }`. */ export declare const readOptionValue: (item: unknown) => string | null; /** Drops blank-label options and assigns stable index keys. */ export declare const toOptionItems: (options: Array) => Array; /** Normalizes the bound `value` (string, `string[]`, or `{ value }[]`) to values. */ export declare const readSelectedValues: (rawValue: unknown, isMultiple: boolean) => Array; /** Builds the per-item match used to filter the list against the typed query. */ export declare const createFilterItem: (params: { customFilter?: DropdownFilter; isSearchable: boolean; isMultiple: boolean; inline: boolean; }) => (item: DropdownItem, typed: string) => boolean; export declare const emitChange: (onChange: NonNullable, value: string | Array) => void; export declare const emitInput: (onInput: NonNullable, value: string) => void;