import { CustomColorPalette, ColorPalette } from '../../core/types/color-palette.js'; import { InternalSliceData } from '../types/internal/pie-chart.js'; import { SliceUnit, SliceData, GroupConfig } from '../types/pie-chart.config.js'; /** * Group the data depending on which threshold the user has selected * @param data - Data received from the dataSet * @param grouping - Received grouping config * @param colorPalette - Palette to apply to the slices. * @param unit - Unit of the data. */ export declare function buildGroupThreshold(data: SliceData[], grouping?: GroupConfig, colorPalette?: ColorPalette | CustomColorPalette, unit?: SliceUnit): InternalSliceData[];