import { LegendProps } from 'recharts';
import { ViewBox } from './types';
export declare const adjustRectWithLegend: (rect: ViewBox, legendProps: Omit<LegendProps, "ref">, legendBox: ViewBox) => {
    rect: import("recharts/types/util/types").CartesianViewBox;
    legendProps: Omit<LegendProps, "ref">;
};
