import type { RectanglePoint } from '../../components/overlay/explore/types.js'; /** A rectangle in plot coordinates. */ export type PlotRectangle = Omit; /** * Part of a rectangle that lies inside the plot, in plot coordinates, with a * non-negative size. `undefined` when no part of the rectangle is inside the * plot, for example when it is outside the zoomed range. * @internal */ export declare function getVisibleRectangle(rectangle: PlotRectangle, plot: Readonly<{ width: number; height: number; }>): PlotRectangle | undefined; //# sourceMappingURL=get-visible-rectangle.d.ts.map