export interface ITreeMapCell { id: string; value: number; color: string; x0: number; y0: number; x1: number; y1: number; textLayout: TextLayout; comparison?: boolean; } export declare type ShareLayout = { showText: false; } | { showText: true; fontSize: number; text: string; }; export declare type LabelLayout = { showText: false; } | { showText: true; fontSize: number; useMargin: boolean; textSplitIntoLines: string[]; textUnsplit: string; }; export declare enum TextLayoutType { ShowBoth = "ShowBoth", ShowOnlyShare = "ShowOnlyShare", ShowNone = "ShowNone" } export declare type TextLayout = { type: TextLayoutType.ShowBoth; label: LabelLayout; share: ShareLayout; } | { type: TextLayoutType.ShowOnlyShare; share: ShareLayout; } | { type: TextLayoutType.ShowNone; };