import { default as React } from 'react';
import { default as IHtmlEditorImageNodeViewProps } from './IHtmlEditorImageNodeViewProps';
/**
 * TipTap NodeView for images with interactive resize handle.
 *
 * Renders the image inside a NodeViewWrapper with a vertical resize bar on the right edge.
 * Drag events update the <img> element directly via ref for smooth UX,
 * then commit final dimensions via TipTap's updateAttributes on mouseUp.
 *
 * Features:
 * - Horizontal-only dragging with aspect ratio preservation
 * - Minimum width of 50px
 * - CSS class toggle for selected state
 * - Loading skeleton shown while the image fetches
 * - Error placeholder shown when the image URL is invalid or unreachable
 * - data-drag-handle applied to inner container (not wrapper) to prevent
 *   empty space to the right of the image from being selectable
 */
declare const HtmlEditorImageNodeView: React.FC<IHtmlEditorImageNodeViewProps>;
export default HtmlEditorImageNodeView;
