import type { ScaleThreshold, ScaleQuantize } from 'd3-scale'; import type { InternalTreeMapNode } from '../types/internal.js'; /** * Function to apply colorPalette to the tree * @param rootNode - InternalTreeMapNode * @param scale - * @returns - children array with applied colors */ export declare const getRangeColoredNodes: (rootNode: InternalTreeMapNode, scale: ScaleQuantize | ScaleThreshold, min: number, max: number) => { children: { color: { Default: string; }; id: string; value: number; name: string; formattedValue?: string; children?: InternalTreeMapNode[]; metadId?: string; highlighted?: boolean; aggregatedNodes?: string[]; }[]; id: string; value: number; name: string; formattedValue?: string; metadId?: string; color?: import("../../index.js").ColorToken; highlighted?: boolean; aggregatedNodes?: string[]; }[] | undefined;