import { type ColumnDef, type RowNode } from '../../core/types/index.js'; import { type CellRead } from '../../core/grid/index.js'; import type { Aggregation } from './grouping.types.js'; interface BuildGroupNodesOptions { read?: CellRead; by: string[]; columns: ColumnDef[]; aggregations: Record>; isExpanded: (groupId: string) => boolean; groupLabel: (key: string, count: number, columnId: string) => string; footerLabel?: (key: string, count: number, columnId: string) => string; repeat?: RepeatRows; opensToRows?: boolean; } interface RepeatRows { count: number; aggregationsAt: (at: number) => Record>; idAt: (groupId: string, at: number) => string; fieldsAt: (at: number) => Record; } export declare function groupNodeId(path: { columnId: string; key: string; }[]): string; export declare function buildGroupNodes(nodes: RowNode[], options: BuildGroupNodesOptions): RowNode[]; export {};