import type { DocNode } from "../doc/types.js"; import type { Editor } from "../editor.js"; export type EditorPlugin = (this: Editor, ...args: A) => void;