import type { ComponentType, ReactElement } from 'react'; import type { ComboboxItemProps } from './ComboboxItem'; import type { ComboboxItemsProps } from './ComboboxItems'; import type { ComboboxSelectionProps } from './ComboboxSelection'; import type { ComboboxSelectionsProps } from './ComboboxSelections'; import type { ComboboxWrapperProps } from './ComboboxWrapper'; import type { FilteredComboboxItemsProps } from './FilteredComboboxItems'; export interface ComboboxOption { label: string; value: any; [key: string]: any; } export declare type OnChangeEnventHandler = (selections: T[]) => void; export declare type ControlledModeChildren = [ ReactElement, ReactElement ]; export declare type OptionKey = string | number; export declare type FilteredItemsComponent = ComponentType; export declare type ItemComponent = ComponentType; export declare type ItemsComponent = ComponentType; export declare type SelectionComponent = ComponentType; export declare type SelectionsComponent = ComponentType; export declare type WrapperComponent = ComponentType; export interface MultiSelectComboboxComponents { FilteredItems?: FilteredItemsComponent; Item?: ItemComponent; Items?: ItemsComponent; Selection?: SelectionComponent; Selections?: SelectionsComponent; Wrapper?: WrapperComponent; }