/**
 * Coordinate Mapping logic for Vertical Writing (90deg Rotated).
 * This manages the translation between visual coordinates and logical coordinates.
 */
/**
 * Installs global patches to redirect coordinate queries through the rotation matrix.
 */
export declare function installPatches(): void;
/**
 * Uninstalls global patches and restores original prototypes.
 */
export declare function uninstallPatches(): void;
/**
 * Sets the current active vertical editor wrapper.
 */
export declare function setupVertical(isActive: boolean, wrapperEl: HTMLElement | null): void;
/**
 * Attaches mouse listeners to the wrapper to capture and transform coordinates.
 */
export declare function attachMouseListeners(wrapperEl: HTMLElement): () => void;
/**
 * Helper to get the actual bounding box of an element ignoring the patch.
 * Useful for layout calculations (like syncing container size).
 */
export declare function getPhysicalRect(el: Element): DOMRect;
