import { ObjectForExtending, TableConfig } from '../types'; export declare function useGroupedRows({ tableConfig, rows, }: { tableConfig?: TableConfig; rows: readonly RowType[]; }): { groupedRows: readonly (RowType | import('./types').GroupRow)[]; groupedCols: string[] | undefined; setGroupedCols: import('react').Dispatch> | undefined; rowsGroupingIsActiveInConfig: boolean; isRowsGroupingLabelVisible: boolean; setIsRowsGroupingLabelVisible: import('react').Dispatch>; isRowsGroupingCounterVisible: boolean; setIsRowsGroupingCounterVisible: import('react').Dispatch>; };