import { ColorPalette } from '../../core/types/color-palette.js'; import { CustomCategoricalColorPalette } from '../types/custom-categorical-color-palette.js'; /** * Creates an Ordinal Scale based in the name of an existing color palette. * * @param colorPalette - name of the color palette * @param filter - An array of strings with the labels that should be * included in the output, if nothing is provided, then * all the categories will be considered */ export declare const buildCategoricalScaleFromColorPalette: (colorPalette: ColorPalette, filter?: string[]) => import("d3-scale").ScaleOrdinal; /** * Creates an Ordinal Scale based in a custom color palette. * * @see {@link CustomCategoricalColorPalette} * @param colorScheme - the custom color palette * @param filter - An array of strings with the labels that should be * included in the output, if nothing is provided, then * all the categories will be considered */ export declare const buildCategoricalScaleFromCustomPalette: (colorScheme: CustomCategoricalColorPalette, filter?: string[]) => import("d3-scale").ScaleOrdinal;