import * as React from "react";
import { LegendProps, GradientLegendConfig } from "./types/legendTypes";
/** Gradient legend for continuous/sequential color scales */
export declare function GradientLegend({ config, orientation, width, }: {
    config: GradientLegendConfig;
    orientation?: "vertical" | "horizontal";
    width?: number;
}): React.JSX.Element;
export default function Legend(props: LegendProps): React.JSX.Element;
