import React from 'react';
import { RectProps } from './Rect';
import { SVGProps } from './SVG';
export interface LegendProps extends RectProps {
    panelColors: SVGProps['panelColors'];
    rectSize: SVGProps['rectSize'];
    leftPad: number;
    rectY: number;
    legendCellSize: number;
    legendRender?: (props: RectProps) => React.ReactElement;
    topPad: number;
    space: number;
}
export default function Legend({ panelColors, leftPad, topPad, rectY, space, rectSize, legendCellSize, legendRender, ...props }: LegendProps): import("react/jsx-runtime").JSX.Element;
