import { Node, Schema } from "prosemirror-model"; import { Transaction } from "prosemirror-state"; import { EditorView } from "prosemirror-view"; import type { Editor } from "../types.js"; interface FootnoteMod { editor: Editor; footnotes?: any; fnEditor?: ModFootnoteEditor; layout?: any; } export declare class ModFootnoteEditor { mod: FootnoteMod; schema: Schema; fnStatePlugins: [any, ((doc: Node) => any)?][]; view: EditorView; constructor(mod: FootnoteMod); init(): void; onTransaction(tr: Transaction): void; applyDiffs(diffs: any[], cid: number): void; renderAllFootnotes(): void; renderFootnote(content: any, index: number | undefined, tr: Transaction): void; removeFootnote(index: number, tr: Transaction): void; } export {}; //# sourceMappingURL=editor.d.ts.map