//#region src/gui/transformUtils.d.ts
/**
 * Pure utility functions for transform calculations.
 * Extracted from motion designer TransformHandles component.
 */
/**
 * Rotate a point around a center point by given radians.
 */
declare function rotatePoint(cx: number, cy: number, x: number, y: number, radians: number): {
  x: number;
  y: number;
};
/**
 * Calculate corner point in canvas coordinates for a rotated element.
 * @param x - Element x position
 * @param y - Element y position
 * @param width - Element width
 * @param height - Element height
 * @param rotationRadians - Rotation in radians
 * @param xMagnitude - 0 = left, 0.5 = center, 1 = right
 * @param yMagnitude - 0 = top, 0.5 = center, 1 = bottom
 */
declare function getCornerPoint(x: number, y: number, width: number, height: number, rotationRadians: number, xMagnitude: number, yMagnitude: number): {
  x: number;
  y: number;
};
/**
 * Get opposite corner magnitudes for a handle.
 * Used to determine which corner stays fixed during resize.
 */
declare function getOppositeCorner(handle: string): {
  x: number;
  y: number;
};
//#endregion
export { getCornerPoint, getOppositeCorner, rotatePoint };
//# sourceMappingURL=transformUtils.d.ts.map