import { ComboboxSelectProps, SelectSingleProps } from './ComboboxTypes'; /** * NOTE: There is a lot of duplicated code here! Here's a list of the /actual/ * differences between select-only and regular combobox to help with * refactoring this later! * * 1) Using Downshift's `useSelect` hook instead of `useCombobox` * - Swapping out the stateChangeTypes for their equivalents * 2) Since there's no input, we don't need to passthrough `getInputProps` * 3) Since we don't do any sorting or filtering, we can remove: * - onInputValueChange function and prop * - setInputValue function * - onIsOpenChange function * - filterOptions prop * - internal `items` state and useEffect to keep it in sync * - useEffect to track first render * 4) Multiple-specific * - Remove `disableClearInputValueOnSelectItem` prop * - No need to store `setInputValue` function * - Remove all state reducer references to `inputValue` * - Remove `onStateChange` function from `useMultipleSelection` */ export declare const SelectSingle: (props: SelectSingleProps) => import("react/jsx-runtime").JSX.Element; /** * ComboboxSelect component for selecting items from a predefined list. * * Features: * - Single and multiple item selection from predefined options * - Dropdown-style selection interface * - Grouping support with custom group labels and sorting * - Loading states with spinner indicators * - Disabled and read-only states * - Customizable popover behavior and positioning * - Full accessibility support with ARIA attributes * - Keyboard navigation support * - Layout utility props for positioning and spacing * - Automatic tracking ID generation for analytics * * @example * item.name} * onChange={setSelectedItem} * > * * * {({ items }) => ( * * {items.map((item, i) => ( * * {item.name} * * ))} * * )} * * */ export declare const ComboboxSelect: (props: ComboboxSelectProps) => import("react/jsx-runtime").JSX.Element;