import { EditorState, Transaction } from 'prosemirror-state'; import { EditorView } from 'prosemirror-view'; declare const doLiftNode: (tr: Transaction, pos: number) => Transaction; declare const insertBreak: (state: EditorState, dispatch: EditorView['dispatch']) => boolean; declare const deleteSelection: (state: EditorState, dispatch?: ((tr: Transaction) => void) | undefined) => boolean; /** * at the beginning of the content select the node with the `spec` `sylCard` * jump to the end of `textblock` * join any joinable */ declare const selectBefore: (state: EditorState, dispatch?: ((tr: Transaction) => void) | undefined) => boolean; declare const splitBlock: (state: EditorState, dispatch?: ((tr: Transaction) => void) | undefined) => boolean; declare const splitBlockKeepMarks: (state: EditorState, dispatch?: ((tr: Transaction) => void) | undefined) => any; declare const deleteZeroChar: (state: EditorState, dispatch?: ((tr: Transaction) => void) | undefined) => boolean; declare const clearAtHead: (state: EditorState, dispatch?: ((tr: Transaction) => void) | undefined) => boolean; declare const undo: (state: EditorState, dispatch?: ((tr: Transaction) => void) | undefined) => boolean; export { clearAtHead, deleteSelection, deleteZeroChar, doLiftNode, insertBreak, selectBefore, splitBlock, splitBlockKeepMarks, undo, };