import { type MultipleSelectBoxOption, type AllowedValueTypes } from '../MultipleSelectBox.types'; type UseOptionSelectionManagementProps = Record> = { /** * The options to be selected. */ options: MultipleSelectBoxOption[]; /** * The selected values. */ selectedValues: Set['value']>; /** * The function to update the selected values. */ updateSelectedValues: (values: MultipleSelectBoxOption['value'][]) => void; }; /** * Hook to manage the selection of options. */ export declare function useOptionSelectionManagement = Record>({ options, selectedValues, updateSelectedValues }: UseOptionSelectionManagementProps): { handleSelectOption: (option: MultipleSelectBoxOption) => void; handleSelectAllOptions: (targetOptions?: MultipleSelectBoxOption[]) => void; handleClearAllOptions: (targetOptions?: MultipleSelectBoxOption[]) => void; }; export {};