import type { Bounds, Vector } from "@hylimo/diagram-common"; import { type SnapLines, type SnapOptions, type Snaps, type SnapState } from "./model.js"; import { type Matrix } from "transformation-matrix"; /** * Processes size snapping for an element against target bounds. * Finds matching size elements and updates the snap state accordingly. * * @param elementBounds the bounds of the element being snapped * @param elementOffset the offset to apply to the elements being moved * @param targetBoundsArray of potential target bounds to snap to * @param snapStateCurrent snap state to update * @param contextSnap context identifier * @param optionsSnap configuration options */ export declare function getSizeSnaps(elementBounds: Bounds, elementOffset: Vector, targetBounds: Bounds[], snapState: SnapState, context: string, options: SnapOptions): void; /** * Creates visual snap lines for size-based snaps. * Processes horizontal and vertical snaps separately and generates * appropriate visual indicators. * * @param nearestSnapsXCollection of horizontal snaps * @param nearestSnapsYCollection of vertical snaps * @param transformTransformation matrix to apply to points * @param contextGlobalRotationsMap of rotation values by context * @param snapLinesMap to store the resulting snap lines by context */ export declare function createSizeSnapLines(nearestSnapsX: Snaps, nearestSnapsY: Snaps, transform: Matrix, contextGlobalRotations: Map, snapLines: SnapLines): void; //# sourceMappingURL=sizeSnap.d.ts.map