export interface MediaOverlayProps { atomElement: HTMLElement; alt: string; width?: number; height?: number; src?: string; x?: number; y?: number; /** Render only the handles when the media details editor owns the interaction surface. */ showMenu?: boolean; /** False for atoms with no width/height concept (e.g. formula, sized by KaTeX from source/font-size) - hides resize controls and handles, keeping Edit/Delete. */ resizable?: boolean; /** False for atoms with no editable fields at all (divider, page break) - hides the Alt/Size/Source info block and the Edit button, keeping only Delete. */ editable?: boolean; onEdit: () => void; onResize: (by: number) => void; onResizeTo: (width: number, height: number) => void; onDelete: () => void; onDismiss: () => void; } /** * Media resize handles stay anchored to the selected media element and * preview size changes live, committing one canonical resize operation when * the pointer is released. The quick-action menu is optional because image * right-clicks use MediaDetailsPopover directly. */ export declare function MediaOverlay({ atomElement, alt, width, height, src, x, y, showMenu, resizable, editable, onEdit, onResize, onResizeTo, onDelete, onDismiss }: MediaOverlayProps): import("react/jsx-runtime").JSX.Element;