/** * @description editor image menu * @author wangfupeng */ import { IDomEditor, IModalMenu } from '@wangeditor-next/core'; import { Node } from 'slate'; import { DOMElement } from '../../../utils/dom'; declare class EditImage implements IModalMenu { readonly title: string; readonly iconSvg = ""; readonly tag = "button"; readonly showModal = true; readonly modalWidth = 300; private $content; private readonly srcInputId; private readonly altInputId; private readonly hrefInputId; private readonly buttonId; getValue(_editor: IDomEditor): string | boolean; private getImageNode; isActive(_editor: IDomEditor): boolean; exec(_editor: IDomEditor, _value: string | boolean): void; isDisabled(editor: IDomEditor): boolean; getModalPositionNode(editor: IDomEditor): Node | null; getModalContentElem(editor: IDomEditor): DOMElement; private updateImage; } export default EditImage;