import type { LineSegment, Polygon, Rect } from "./2d.js"; /** * Convert the given {@link Rect} to {@link Polygon} format. */ export declare const polygonFromRect: (rect: Rect) => Polygon; /** * Convert the given {@link LineSegment} to {@link Polygon} format. * Arbitrarily places the left/bottom point first and right/top point second. */ export declare const polygonFromLineSegment: (segment: LineSegment) => Polygon; //# sourceMappingURL=polygon-from.d.ts.map