import type { OptionalIndexValue, OptionalIndicesValues } from "../types/index-value"; type UseMultiSelectableListReturnType = [ Array, { matchSelection: (parameters: OptionalIndexValue) => boolean; toggleSelection: (parameters: OptionalIndexValue) => () => void; updateSelections: ({ indices, values, }: OptionalIndicesValues) => () => void; } ]; /** * useMultiSelectableList * A custom hook to easily select multiple values from a list * * @param list - The list of values to select from * @param initialSelectIndices - The indices of the initial selections * @param allowUnselected - Whether or not to allow unselected values * @see https://rooks.vercel.app/docs/hooks/useMultiSelectableList */ declare function useMultiSelectableList(list?: T[], initialSelectIndices?: number[], allowUnselected?: boolean): UseMultiSelectableListReturnType; export { useMultiSelectableList };