import { InputDatumValue, InputGroupValue } from "../types"; type Root = { r: number; x: number; y: number; value: number; data: T; }; export type HierarchyRoot = { children?: (Root & { children?: Root[]; })[]; }; type TreemapRoot = { x0: number; x1: number; y0: number; y1: number; value: number; data: T; }; export type TreemapHierarchyRoot = { children?: (TreemapRoot & { children?: TreemapRoot[]; })[]; }; export {};