import { ScaleSequential } from "d3-scale"; import { ColorModel } from "./TreeMapProps"; import { BaseTreeMapInPutData, NodeColors } from "./types"; import { HierarchyRectangularNode } from "d3-hierarchy"; export declare const getTopSubParentId: (node: HierarchyRectangularNode) => number; export declare const getDepth: (obj: TreeMapInputData, childrenPropInData: string) => number; export declare const getHighContrastColor: (r: number, g: number, b: number) => "dark" | "light"; export declare const getHighContrastColorFromString: (backgroundColor: string | undefined) => "dark" | "light"; export declare const getValueFormatFn: (valueFn: (value: number) => string, valueFormat: string) => ((value: number) => string); export declare const getColorDomainFn: (topNode: HierarchyRectangularNode, data: TreeMapInputData, colorModel: ColorModel, childrenPropInData: string, valuePropInData: string, customD3ColorScale: ScaleSequential) => ScaleSequential; export declare const getColorsFromNode: ({ node, originalTopNode, colorModel, childrenPropInData, valuePropInData, customD3ColorScale, darkNodeTextColor, darkNodeBorderColor, lightNodeTextColor, lightNodeBorderColor, }: { node: HierarchyRectangularNode; originalTopNode: HierarchyRectangularNode; colorModel: ColorModel; childrenPropInData: string; valuePropInData: string; customD3ColorScale: ScaleSequential; darkNodeTextColor: string; darkNodeBorderColor: string; lightNodeTextColor: string; lightNodeBorderColor: string; }) => NodeColors;