import { Edge, Point, Rectangle } from "./interfaces"; /** * Transforms a graph edge of type 'curve' with x1, y1, x2, y2, * control point and size into an axis-aligned square. * * @param {object} e A graph edge with at least two points * (x1, y1), (x2, y2) and a size. * @param {object} cp A control point (x,y). * @return {object} A square: two points (x1, y1), (x2, y2) and height. */ export default function quadraticCurveToSquare(e: Edge, cp: Point): Rectangle;