import { TableProps } from '../interfaces'; import { SelectionProps } from './interfaces'; type SelectionOptions = Pick, 'ariaLabels' | 'isItemDisabled' | 'items' | 'loading' | 'onSelectionChange' | 'selectedItems' | 'selectionType' | 'trackBy'> & { setLastUserAction?: (name: string) => void; }; export declare function useSelection(options: SelectionOptions): { isItemSelected: (item: T) => boolean; getSelectAllProps?: () => SelectionProps; getItemSelectionProps?: (item: T) => SelectionProps; setLastUserAction?: (name: string) => void; }; export {};