import type { CanvasConnection, CanvasConnectionLayout, ProjectionResult, Stroke, TransformedLine } from "@hylimo/diagram-common"; import type { LinearAnimatable } from "../../features/animation/model.js"; import { SCanvasConnectionSegment } from "./sCanvasConnectionSegment.js"; import { SCanvasContent } from "./sCanvasContent.js"; import { SMarker } from "./sMarker.js"; /** * Model for CanvasConnection */ export declare class SCanvasConnection extends SCanvasContent implements CanvasConnection, LinearAnimatable { type: typeof CanvasConnection.TYPE; animatedFields: Set; /** * The id of the start point */ start: string; /** * The color of the stroke */ stroke?: Stroke; /** * The start marker if existing */ startMarker?: SMarker; /** * The end marker if existing */ endMarker?: SMarker; /** * The segments of the connection */ segments: SCanvasConnectionSegment[]; /** * Layout used for rendering */ layout: CanvasConnectionLayout; /** * The provided line */ line: TransformedLine; /** * An expression which can be used by edits to obtain this element in an edit */ editExpression?: string; /** * The projection result for the preview data */ splitPreviewDataProvider?: () => ProjectionResult; /** * Required to mark this as moveable */ private readonly position; constructor(); /** * Checks if control elements (like bezier control point handles) should be rendered */ get showControlElements(): boolean; get dependencies(): string[]; } //# sourceMappingURL=sCanvasConnection.d.ts.map