import type { NodeType } from 'prosemirror-model'; import type { EditorState, Transaction } from 'prosemirror-state'; export declare const escapeHtml: (text: string) => string; export declare const isSelectionInNodeType: (state: EditorState, nodeType: NodeType) => boolean; export declare const createToggleListCommand: (listItemType: NodeType, listType: NodeType) => (state: EditorState, dispatch?: (tr: Transaction) => void) => boolean; //# sourceMappingURL=helpers.d.ts.map