import { GroupTitleInterface } from './GroupTitle'; import { TableProps } from '../../Table'; import { TableItemGroupByType } from '../../types'; interface Props { data: T[]; dataKey: NonNullable['dataKey']>; } export declare function useGroupBy({ data, dataKey }: Props): (T | TableItemGroupByType | GroupTitleInterface)[]; export {};