import { IViewMapProps } from '@syllepsis/editor'; import { ImageAttrs, ImageProps } from '@syllepsis/plugin-basic'; import React, { ChangeEventHandler } from 'react'; interface ISylMaskImageFailedProps extends React.DetailedHTMLProps, HTMLDivElement> { attrs: ImageAttrs; maxWidth: number; } declare const SylMaskImageFailed: ({ attrs, maxWidth, ...rest }: ISylMaskImageFailedProps) => JSX.Element; declare class ImageMask extends React.Component, { caption: string; active: boolean; isUploading: boolean; isFailed: boolean; }> { imageWrapDom: any; private isInline; private imageMount; private inputting; private isResizing; constructor(props: any); get MAX_WIDTH(): number; componentDidUpdate(prevProps: IViewMapProps): void; componentDidMount(): void; componentWillUnmount(): void; localeUpdate: import("lodash").DebouncedFuncLeading<() => false | void>; _handleCheckStatus: EventListener; focusCaption: () => void; updateCaptionValue: (e: React.ChangeEvent) => void; dispatchUpdate: (attrs: Partial) => void; private updateImageUrl; _onResizeStart: () => void; _onResizeEnd: (width: number, height: number) => void; _changeAlt: ChangeEventHandler; renderImage: () => JSX.Element; renderBlockImage: () => JSX.Element; renderFailedImage: (config: ImageProps) => any; render(): any; } export { ImageMask, SylMaskImageFailed };