import type { Node as ProseMirrorNode } from "prosemirror-model"; import type { EditorView } from "prosemirror-view"; import type { Editor } from "../types.js"; import { CommentAnswerEditor, CommentEditor } from "./editors/index.js"; interface InteractionsMod { editor: Editor; store: any; interactions: any; } export declare class ModCommentInteractions { mod: InteractionsMod; activeCommentId: string | number | false; activeCommentAnswerId: string | number | false; editComment: boolean; creatingGlobalComment: boolean; editor: CommentEditor | CommentAnswerEditor | false; constructor(mod: InteractionsMod); bindEvents(): void; initEditor(): void; updateDOM(): void; findCommentIds(node: ProseMirrorNode): (string | number)[]; findCommentsAt(node: ProseMirrorNode): (any | false)[]; deactivateSelectedChanges(): void; collapseSelectionToEnd(): void; activateComment(id: string | number): void; deactivateAll(): void; activateSelectedComment(view: EditorView): void; isCurrentlyEditing(): boolean; createNewComment(): void; createNewGlobalComment(): void; deleteComment(id: string | number): void; resolveComment(id: string | number): void; recreateComment(id: string | number): void; assignComment(id: string | number, user: number, username: string): void; unassignComment(id: string | number): void; notifyAssignedUser(user: number, id: string | number): void; updateComment({ id, comment, isMajor }: { id: string | number; comment: any[]; isMajor: boolean; }): string | number; cancelSubmit(): void; deleteCommentAnswer(id: string | number, answerId: string | number): void; editAnswer(id: string | number, answerId: string | number): void; createNewAnswer(id: string | number, answerText: string): void; submitAnswerUpdate(id: string | number, answerId: string | number, commentText: string): void; } export {}; //# sourceMappingURL=interactions.d.ts.map