import type { FullObject } from "@hylimo/core"; import type { Element, Size, Point } from "@hylimo/diagram-common"; import type { LayoutElement, SizeConstraints } from "../layoutElement.js"; import type { Layout } from "../engine/layout.js"; import { StyledElementLayoutConfig } from "./styledElementLayoutConfig.js"; /** * Layout config for text */ export declare class TextLayoutConfig extends StyledElementLayoutConfig { type: string; constructor(); measure(layout: Layout, element: LayoutElement, constraints: SizeConstraints): Size; layout(layout: Layout, element: LayoutElement, position: Point, size: Size, id: string): Element[]; getChildren(element: LayoutElement): FullObject[]; } //# sourceMappingURL=textLayoutConfig.d.ts.map