import type { GridRowId, GridRowMeta } from '../types'; import type { Collection } from './types'; export declare function flatten(collection: Collection, expanded: Set, sortFn: null | ((ids: GridRowId[], entities: Map, meta: Map) => GridRowId[]), matchedIds?: Set | null): { ids: GridRowId[]; indexes: Map; setDetails: Map; }; export declare function precalculateCollections(collection: Collection): { rowCount: number; levels: Map; }; //# sourceMappingURL=flatten.d.ts.map