import type { ConnectionEnd, SharedSettings } from "@hylimo/diagram-protocol"; import type { SModelElementImpl } from "sprotty"; import { MoveHandler, type HandleMoveResult } from "../move/moveHandler.js"; import type { Matrix } from "transformation-matrix"; import type { ElementFinder } from "../element-finder/elementFinder.js"; /** * Move handler for creating connections */ export declare class CreateConnectionMoveHandler extends MoveHandler { private readonly edit; private readonly start; private readonly settings; private readonly elementFinder; /** * Creates a new CreateConnectionMoveHandler based on the start of the connection * and the edit to create the connection * * @param edit the edit to create the connection * @param start the start of the connection * @param transformationMatrix matrix applied to event coordinates */ constructor(edit: `connection/${string}`, start: ConnectionEnd, settings: SharedSettings | undefined, elementFinder: ElementFinder, transformationMatrix: Matrix); handleMove(x: number, y: number, event: MouseEvent, target: SModelElementImpl): HandleMoveResult; } //# sourceMappingURL=createConnectionMoveHandler.d.ts.map