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;
    legendCellSize: number;
    legendRender?: (props: RectProps) => React.ReactElement | void;
    topPad: number;
    space: number;
}
export default function Legend({ panelColors, leftPad, topPad, space, rectSize, legendCellSize, legendRender, ...props }: LegendProps): JSX.Element;
