import type { CategoricalLegendConfig, MapLegendConfig, SequentialLegendConfig, ThresholdLegendConfig } from '../types/legend.js';
export declare const isThresholdLegend: (legendConfig: MapLegendConfig) => legendConfig is ThresholdLegendConfig;
export declare const isSequentialLegend: (legendConfig: MapLegendConfig) => legendConfig is SequentialLegendConfig;
export declare const isCategoricalLegend: (legendConfig: MapLegendConfig) => legendConfig is CategoricalLegendConfig;
/**
 * Builds a scale for the corresponding map legend configuration
 */
export declare const buildScaleFromLegendConfig: (mapLegendConfig: MapLegendConfig) => import("d3-scale").ScaleOrdinal<string, string, never> | import("d3-scale").ScaleThreshold<number, string, never> | undefined;
