/** * @description insert image menu * @author wangfupeng */ import { Node } from 'slate'; import { IModalMenu, IDomEditor } from '@wangeditor/core'; import { DOMElement } from '../../../utils/dom'; declare class InsertImage 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; 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 insertImage; } export default InsertImage;