import type { Element, Size, Point, Line } from "@hylimo/diagram-common"; import type { LayoutElement, SizeConstraints } from "../layoutElement.js"; import type { Layout } from "../engine/layout.js"; import { ContentShapeLayoutConfig } from "./contentShapeLayoutConfig.js"; /** * Layout config for rect */ export declare class RectLayoutConfig extends ContentShapeLayoutConfig { type: string; constructor(); measure(layout: Layout, element: LayoutElement, constraints: SizeConstraints): Size; layout(layout: Layout, element: LayoutElement, position: Point, size: Size, id: string): Element[]; outline(layout: Layout, element: LayoutElement, position: Point, size: Size, id: string): Line; } //# sourceMappingURL=rectLayoutConfig.d.ts.map