import type { AxisAlignedSegmentEdit, 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 SplitAxisAlignedSegmentMoveHandler extends SplitSegmentMoveHandler { private readonly segmentId; private readonly pos; private readonly nextPos; private readonly nextSegmentEdit; /** * Creats a new SplitAxisAlignedSegmentMoveHandler * * @param segmentId the id of the segment to split * @param pos the pos for the new segment * @param nextPos the pos for the next segment * @param nextSegmentEdit the edit for the next segment (the segment which was split) * @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, pos: number, nextPos: number, nextSegmentEdit: AxisAlignedSegmentEdit | undefined, transformationMatrix: Matrix, initialPoint: Point); generateSplitSegmentEdits(x: number, y: number): Edit[]; } //# sourceMappingURL=splitAxisAlignedSegmentMoveHandler.d.ts.map