import type { FullObject } from "@hylimo/core"; import type { Size } from "@hylimo/diagram-common"; import type { AttributeConfig, LayoutElement, SizeConstraints } from "../../layoutElement.js"; import type { Layout } from "../../engine/layout.js"; import { ElementLayoutConfig } from "../elementLayoutConfig.js"; /** * Base class for all canvas connection segment layout configs */ export declare abstract class CanvasConnectionSegmentLayoutConfig extends ElementLayoutConfig { /** * Creates a new CanvasConnectionSegmentLayoutConfig * * @param additionalAttributes additional non-style attributes * @param additionalStyleAttributes the supported style attributes */ constructor(additionalAttributes: AttributeConfig[], additionalStyleAttributes: AttributeConfig[]); measure(layout: Layout, element: LayoutElement, constraints: SizeConstraints): Size; getChildren(): FullObject[]; /** * Gets the id of a point registered on the canvas * * @param layout the layout engine * @param element the current element, its parent must be a point provider (e.g. Canvas) * @param pointField the name of the field containing the point * @returns the id of the point */ getContentId(layout: Layout, element: LayoutElement, pointField: string): string; } //# sourceMappingURL=canvasConnectionSegmentLayoutConfig.d.ts.map