import type { EditorState, Transaction } from 'prosemirror-state';
import type { NodeType } from 'prosemirror-model';
declare const toggleNode: (type: NodeType, toggleType: NodeType, attributes?: {}) => (state: EditorState, dispatch?: (tr: Transaction) => void) => boolean;
export default toggleNode;
//# sourceMappingURL=toggleNode.d.ts.map