import { MultiChangeHandler, Option } from '../../BaseSelect'; import { FocusEvent, ReactNode, MouseEventHandler } from 'react'; import { GetPropsCommonOptions, UseComboboxGetInputPropsOptions, UseComboboxGetToggleButtonPropsOptions, UseComboboxGetToggleButtonPropsReturnValue } from 'downshift'; export type RenderEndAdornmentType = (props: UseComboboxGetToggleButtonPropsReturnValue) => ReactNode; export declare const useMultiselect: ({ selectedValues, showEmptyState, options, onChange, onInputValueChange, onFocus, onBlur, }: { selectedValues: V[]; showEmptyState?: boolean | undefined; options: T[]; onChange?: MultiChangeHandler | undefined; onInputValueChange?: ((value: string) => void) | undefined; onFocus?: ((e: FocusEvent) => void) | undefined; onBlur?: ((e: FocusEvent) => void) | undefined; }) => { active: boolean; itemsToSelect: T[]; typed: boolean; isOpen: boolean; getLabelProps: (options?: (import('downshift').UseComboboxGetLabelPropsOptions & Options) | undefined) => import('downshift').Overwrite; getMenuProps: (options?: (import('downshift').UseComboboxGetMenuPropsOptions & Options_1) | undefined, otherOptions?: GetPropsCommonOptions | undefined) => import('downshift').Overwrite; getInputProps: (options?: UseComboboxGetInputPropsOptions, otherOptions?: GetPropsCommonOptions) => import('downshift').Overwrite) => void; onBlur: (e: FocusEvent) => void; }>; highlightedIndex: number; getItemProps: (options: import('downshift').UseComboboxGetItemPropsOptions & Options_2) => Omit, "index" | "item">; getSelectedItemProps: (options: import('downshift').UseMultipleSelectionGetSelectedItemPropsOptions & Options_3) => Omit, "selectedItem" | "index">; removeSelectedItem: (item: T) => void; selectedItems: T[]; inputValue: string; showInput: boolean; getToggleButtonProps: (options?: UseComboboxGetToggleButtonPropsOptions) => import('downshift').Overwrite | undefined; }>; hasItemsToSelect: boolean; };