import type { Formatter } from '../../core/types/formatter.js'; import { RootNode } from '../types/guards/node-guards.js'; /** * Calculates the aggregated data for a treemap based on the provided data and treemap area. * @param data - TreeMap data * @param treemapArea - available area for the TreeMap * @param hasParentLabels - Flag for indicate if the cluster has the labels * @param formatter - formatter * @returns - TreeMap data with aggregated nodes for each cluster */ export declare const useAggregatedData: (data: RootNode, treemapArea: number, hasParentLabels: boolean, formatter: Formatter) => { dataForRendering: RootNode; dataForHighlighting: RootNode; };