import type { MouseEvent } from 'react';
import type { ItemOptionTransformed, ItemOption, SelectProps, SelectValue } from '../Select.types';
import type { ValueToCheckedMapType, ValueToItemMapType } from './usePathMaps';
type Props = {
    multiselect: SelectProps['multiselect'];
    mode: NonNullable<SelectProps['mode']>;
    value: SelectValue;
    valueToCheckedMap: ValueToCheckedMapType;
    valueToItemMap: ValueToItemMapType;
    closeAfterSelect: boolean;
    handleChange: (newValue: SelectValue, item: ItemOption | null) => void;
    resetListState: () => void;
};
export declare const useCheckedState: ({ multiselect, mode, value, valueToCheckedMap, valueToItemMap, closeAfterSelect, handleChange, resetListState, }: Props) => {
    checked: ValueToCheckedMapType;
    handleCheckboxChange: (item: ItemOptionTransformed) => void;
    handleItemClick: (item: ItemOptionTransformed, event?: MouseEvent<HTMLElement>) => void;
    handlePressDown: (item: ItemOptionTransformed, event?: MouseEvent<HTMLElement>) => void;
};
export {};
//# sourceMappingURL=useCheckedState.d.ts.map