import type { ColumnDef, OnChangeFn, Row, RowSelectionState } from "@tanstack/react-table"; interface UseTableSelectionOptions { enableRowSelection?: boolean | ((row: Row) => boolean); selectedRowKeys?: string[]; onRowSelect?: (keys: string[], rows: TData[]) => void; data: TData[]; getRowId: (row: TData) => string; } export declare const useTableSelection: ({ enableRowSelection, selectedRowKeys, onRowSelect, data, getRowId, }: UseTableSelectionOptions) => { rowSelection: RowSelectionState; onRowSelectionChange: OnChangeFn; selectionColumn: ColumnDef | null; enableRowSelection: boolean | ((row: Row) => boolean); }; export {};