import { type Box, type XYWH } from "@auto-hwp/editor-core"; export interface ImageOverlayProps { /** The image's own-render PAGE px box `{x,y,w,h}` (from `imageAt`/`imageBbox`). */ box: Box; /** rendered px / viewBox px for this page (from HwpPageView) — page px × scale = client px. */ scale: number; /** Minimum image size in PAGE px (drag clamp). Default 8. */ minPx?: number; /** Commit a resize: the NEW box in PAGE px. The parent converts page→HWPUNIT (`imageSizeToHwpunit`), * applies `SetImageSize`, then apply-verifies + re-places the overlay. */ onCommitResize: (pageBox: XYWH) => void; /** Commit a move: the DROP point in CLIENT px. The parent resolves which block that point lands on * (`hitTest`) and relocates the image THERE (`MoveImage`) — anchor reorder, not a free offset. */ onCommitMove: (dropClientX: number, dropClientY: number) => void; /** Live "drops here" feedback while MOVING — the current pointer (client px). Cleared via `onMoveEnd`. */ onMovePoint?: (clientX: number, clientY: number) => void; /** The move drag ended (drop or cancel) — clear any drop indicator. */ onMoveEnd?: () => void; /** Delete the selected image block (Delete/Backspace). Omit to hide the 🗑 affordance + key path. */ onDelete?: () => void; /** Deselect (Escape / the overlay's own dismiss). */ onDismiss: () => void; } export declare function ImageOverlay({ box, scale, minPx, onCommitResize, onCommitMove, onMovePoint, onMoveEnd, onDelete, onDismiss }: ImageOverlayProps): import("react").JSX.Element; //# sourceMappingURL=ImageOverlay.d.ts.map