export type Rotation = 0 | 90 | 180 | 270; export declare const normalizeRotation: (deg: number) => Rotation; export declare const viewSize: (cw: number, ch: number, rotation: Rotation) => { w: number; h: number; }; export declare const contentSize: (vw: number, vh: number, rotation: Rotation) => { w: number; h: number; }; export declare const contentToView: (x: number, y: number, rotation: Rotation, cw: number, ch: number) => { x: number; y: number; }; export declare const viewToContent: (x: number, y: number, rotation: Rotation, cw: number, ch: number) => { x: number; y: number; }; export declare const innerLayerTransform: (rotation: Rotation, contentWidthPx: number, contentHeightPx: number) => string;