 
import React from "react";
import type { Color } from "@deck.gl/core";
import type { colorTablesArray } from "@emerson-eps/color-tables/";
import type { ExtendedLegendLayer } from "../layers/utils/layerTools";
import type { ColormapFunctionType } from "../layers/utils/colormapTools";
interface LegendBaseData {
    title: string;
    colorName: string;
    discrete: boolean;
    colorMapFunction?: ColormapFunctionType;
}
export interface DiscreteLegendDataType extends LegendBaseData {
    metadata: Record<string, [Color, number]>;
}
export interface ContinuousLegendDataType extends LegendBaseData {
    valueRange: [number, number];
}
interface ColorLegendProps {
    horizontal?: boolean | null;
    layer: ExtendedLegendLayer;
    colorTables: colorTablesArray | string | undefined;
    reverseRange?: boolean;
}
declare const ColorLegend: React.FC<ColorLegendProps>;
export default ColorLegend;
