interface UseTableProps { data: T[]; getRowId: (row: T) => string | number; selectedRows?: Set; onSelectionChange?: (selectedIds: Set) => void; } interface IUseTable { isSelected: (id: string | number) => boolean; toggleRowSelection: (id: string | number) => void; toggleSelectAll: () => void; selectedCount?: number; } export declare const useTable: ({ data, getRowId, selectedRows, onSelectionChange, }: UseTableProps) => IUseTable; export {};