import type { Edit } from "@hylimo/diagram-protocol"; import { SplitSegmentMoveHandler } from "./splitSegmentMoveHandler.js"; import type { Matrix } from "transformation-matrix"; import type { Point } from "@hylimo/diagram-common"; /** * Move handler for splitting a bezier segment */ export declare class SplitBezierSegmentMoveHandler extends SplitSegmentMoveHandler { private readonly segmentId; private readonly cx1; private readonly cy1; private readonly cx2; private readonly cy2; /** * Creats a new SplitBezierSegmentMoveHandler * * @param segmentId the id of the segment to split * @param cx1 the relative x coordinate of the first control point * @param cy1 the relative y coordinate of the first control point * @param cx2 the relative x coordinate of the second control point * @param cy2 the relative y coordinate of the second control point * @param transformationMatrix matrix applied to event coordinates * @param initialPoint the point to use when the mouse was only clicked but not dragged */ constructor(segmentId: string, cx1: number, cy1: number, cx2: number, cy2: number, transformationMatrix: Matrix, initialPoint: Point); generateSplitSegmentEdits(x: number, y: number): Edit[]; } //# sourceMappingURL=splitBezierSegmentMoveHandler.d.ts.map