import { Plugin } from "prosemirror-state"; import type { Editor } from "../../types.js"; /** * ProseMirror plugin factory that keeps `editor.docInfo.confirmedDoc` in sync * with the current editor document. * * In normal Fidus Writer usage `confirmedDoc` is the last version confirmed by * the server, but in the standalone demo there is no server, so without this * plugin the confirmed document never reflects edits and exports/printing end * up empty or stale. */ export declare function confirmedDocPlugin(options: unknown): Plugin; /** * Fidus Writer editor plugin that installs the confirmed-doc ProseMirror * plugin for demo/non-collaborative scenarios. */ export declare class ConfirmedDocEditorPlugin { editor: Editor; constructor(editor: Editor); init(): void; } //# sourceMappingURL=confirmed_doc.d.ts.map