import { Plugin } from "prosemirror-state"; import { Decoration, DecorationSet } from "prosemirror-view"; import type { EditorState, Transaction } from "prosemirror-state"; import type { Editor } from "../types.js"; interface CommentPluginOptions { editor: Editor; } export declare const addCommentDuringCreationDecoration: (state: EditorState, tr: Transaction) => Transaction | false; export declare const removeCommentDuringCreationDecoration: (state: EditorState, tr: Transaction) => Transaction | false; export declare const getCommentDuringCreationDecoration: (state: EditorState) => Decoration | false; export declare const commentsPlugin: (options: CommentPluginOptions) => Plugin<{ decos: DecorationSet; }>; export {}; //# sourceMappingURL=comments.d.ts.map