export type RightAngleRotation = 0 | 90 | 180 | 270;
/** Returns true when the given rotation angle causes width and height to swap. */
export declare function isRotationDimensionSwap(rotation: RightAngleRotation | undefined): boolean;
/** Snaps an arbitrary degree value to the nearest right angle (0, 90, 180, 270). */
export declare function normalizeRightAngle(value: number): RightAngleRotation;
export declare function invertRightAngleRotation(rotation: RightAngleRotation): RightAngleRotation;
export declare function rotateNormalizedPoint(point: {
    x: number;
    y: number;
}, rotation: RightAngleRotation): {
    x: number;
    y: number;
};
