import { ScaleOrdinal } from 'd3-scale'; import { LegendItem } from '../components/legend/categorical/types/legend.js'; /** * Defines the items to render in a categorical legend * @internal */ export declare const buildCategoricalItemsFromScale: (scale: ScaleOrdinal, overrides?: Map, /** Define a custom id if needed * Defaults to crypto.randomUUID() */ id?: (category: string) => string) => LegendItem[];