import { TableSelectable } from '../../types'; import { SelectRowArg } from './helpers'; interface OnItemSelectFnArg extends Omit { isParentRow: boolean; parentRowId: string; childRowId?: string; childrenRowsIds: string[]; } export type OnItemSelectFn = ({ isParentRow, parentRowId, childRowId, childrenRowsIds, }: OnItemSelectFnArg) => void; export declare const useSelectable: (selectable?: TableSelectable) => { isSelectable: boolean; onItemSelect: OnItemSelectFn | undefined; selectedItems: Record; isChildrenRowsSelectable: boolean; selectedParentRowsCrossPages: Set; setSelectedParentRowsCrossPages: import("react").Dispatch>>; }; export {}; //# sourceMappingURL=useSelectable.d.ts.map