import { type RowNode } from '../../core/types/index.js'; interface BuildTreeOptions { childrenOf: (node: RowNode) => RowNode[]; isExpanded: (id: string) => boolean; defaultExpandedDepth?: number; isSeeded?: (id: string) => boolean; } interface TreeResult { nodes: RowNode[]; autoExpanded: string[]; } export declare function buildTreeNodes(roots: RowNode[], options: BuildTreeOptions): TreeResult; export declare function indexByParent(nodes: RowNode[], parentIdOf: (row: TRow) => string | null | undefined): { roots: RowNode[]; children: Map[]>; }; export {};