import type { Formatter } from '../../core/types/formatter.js'; import { ClusterNode } from '../types/guards/node-guards.js'; import type { NameAccessor } from '../types/treemap.js'; /** * Calculates the aggregated data for a treemap based on the provided data and treemap area. * @param cluster - TreeMap data cluster node * @param areaPerValue - proportionate area of treemap per value * @param minNodeSize - node threshold in pixels * @param nameAccessor - leaf object property (name or value) * @returns - TreeMap data child node with aggregated nodes */ export declare const buildAggregatedLeaf: (cluster: ClusterNode, areaPerValue: number, minNodeSize: number, formatter: Formatter, nameAccessor?: NameAccessor) => ClusterNode;