import type { TreeMapFormatter } from '../types/internal.js'; import type { TreeMapRootNode } from '../types/treemap.js'; export declare function mapToInternalTree(tree: TreeMapRootNode, formatter: TreeMapFormatter, unit?: string): { children: { children: import("../types/internal.js").InternalTreeMapNode[]; id: string; value: number; name: string; formattedValue?: string; metadId?: string; color?: import("../../index.js").ColorToken; highlighted?: boolean; aggregatedNodes?: string[]; }[]; id: string; value: number; name: string; formattedValue?: string; metadId?: string; color?: import("../../index.js").ColorToken; highlighted?: boolean; aggregatedNodes?: string[]; };