import { Schema } from "prosemirror-model"; declare module "prosemirror-state" { interface PluginSpec { replaceTransaction?: ((tr: Transaction, oldState: EditorState, newState: EditorState) => undefined | null | false | Transaction) | null; } } /** * Installs a monkey patch for `replaceTransaction`. This avoids forking * prosemirror-state (which would be tricky for distribution), and serves as * reference implementation for https://github.com/ProseMirror/rfcs/pull/10. */ export declare const installReplaceTransactionMonkeyPatch: () => void;