import React from 'react'; import { ElementProps, MediaNode } from '../../../el'; interface ReadonlyImageProps { src?: string; alt?: string; width?: number | string; height?: number | string; crossOrigin?: 'anonymous' | 'use-credentials' | ''; } /** A single displayed image owns loading failures; replacing its URL retries. */ export declare const ReadonlyImage: React.FC; export interface ResizeImageProps extends React.ImgHTMLAttributes { onResizeStart?: () => void; onResizeStop?: (size: { width: number | string; height: number | string; }) => void; defaultSize?: { width?: number | string; height?: number | string; }; /** Only active images mount resize handles; omission preserves the standalone API. */ selected?: boolean; } /** Resize locally during dragging, then persist the actual final size once. */ export declare const ResizeImage: React.MemoExoticComponent<({ onResizeStart, onResizeStop, selected, defaultSize, src, alt, onLoad, onError, style, ...props }: ResizeImageProps) => React.JSX.Element>; export declare function EditorImage({ element, attributes, children, }: ElementProps): React.JSX.Element; export {};