import type { Unit } from '@dynatrace-sdk/units'; import type { ColorPalette } from '../../core/types/color-palette.js'; import type { ColorRuleProps } from '../../core/types/color-rule.js'; import type { ColoredRange } from '../../core/types/colored-range.js'; import type { MinMax } from '../../core/types/min-max.js'; import { type ColoredInternalTreeMapData, type InternalTreeMapNode } from '../types/internal.js'; /** * Function to map the consumer dataset to the internal one that is sorted, colored. * Creates the mapping between internal data and the legend items/colors * @param tree - * @param unit - * @param colorPalette - * @param minMaxConfig - * @param colorRules - raw color rules to apply * @returns - InternalTreemapData and Coloring map */ export declare function getColoredInternalRangeData(tree: InternalTreeMapNode, colorPalette: ColorPalette | ColoredRange[], minMaxConfig: Partial, colorRules: ColorRuleProps[], unit?: string | Unit): ColoredInternalTreeMapData;