import type Plot from "../Plot.js";
/**
    @module rectBuffer
    Adds a buffer to either side of the non-discrete axis.


    @param buffer Defaults to the width/height of the largest Rect.
    @private
*/
export default function (this: Plot, { data, x, y, x2, y2, yScale, xScale, config, }: {
    data: Record<string, unknown>[];
    x: any;
    y: any;
    x2?: any;
    y2?: any;
    yScale?: string;
    xScale?: string;
    config?: Record<string, (...args: unknown[]) => unknown>;
}): [unknown, unknown];
