import type { EditorState, Transaction } from 'prosemirror-state'; import { Plugin } from 'prosemirror-state'; export declare const isEditable: (state?: EditorState | null) => boolean; export declare const setEditable: (state: EditorState, tr: Transaction, editable: boolean) => Transaction; export declare const editablePlugin: (startEditable: boolean) => Plugin;