import type { Node } from "prosemirror-model"; import type { NodeView } from "prosemirror-view"; import type { EditorConfig } from "../../config"; export default class BookmarkView implements NodeView { dom: HTMLElement; private props; constructor(node: Node, fetchBookmark: EditorConfig['bookmark']); update(node: Node): boolean; }