import { type RefObject } from 'react'; import { type MultipleSelectBoxOption, type AllowedValueTypes } from '../MultipleSelectBox.types'; type UseInitialFocusOnOptionPanelOpenProps = Record> = { /** * Whether the option panel is open. */ isOptionPanelOpen: boolean; /** * The ref of the select all button. */ selectAllButtonRef: RefObject; /** * The ref of the clear all button. */ clearAllButtonRef: RefObject; /** * Whether the select is searchable. */ enableSearchOptions: boolean; /** * The ref of the search input. */ searchInputRef: RefObject; /** * The set of local selected values. */ localSelectedValuesSet: Set['value']>; /** * The ref of the option panel. */ optionPanelRef: RefObject; /** * The filtered options. */ filteredOptions: MultipleSelectBoxOption[]; /** * Whether the options are loading. */ loading: boolean; }; /** * Control the focus when the option panel is opened. */ export declare const useInitialFocusOnOptionPanelOpen: = Record>({ isOptionPanelOpen, selectAllButtonRef, clearAllButtonRef, enableSearchOptions, searchInputRef, localSelectedValuesSet, optionPanelRef, filteredOptions, loading, }: UseInitialFocusOnOptionPanelOpenProps) => void; export {};