import { ScaleThreshold } from 'd3-scale'; import { ColoredRange } from '../types/colored-range.js'; import type { MinMax } from '../types/min-max.js'; /** * Sorts ranges first by starting point then by ending point of the range * * @param ranges - */ export declare const sortRanges: (ranges: ColoredRange[]) => ColoredRange[]; /** * Builds a threshold scale based on a list of threshold ranges * * @internal * * @param ranges - * @param defaultColor - default color for ranges * @param minMaxConfig - */ export declare const buildThresholdScaleFromRanges: (ranges: ColoredRange[], defaultColor: string, minMaxConfig?: Partial) => ScaleThreshold; /** * Builds ranges bounded by the min/max config. * * @internal * * @param ranges - * @param minMaxConfig - */ export declare const boundRanges: (ranges: ColoredRange[], minMaxConfig?: Partial) => ColoredRange[];