import { EditorState, SelectionRange } from 'prosemirror-state'; import { MarkType, NodeType, Mark, Node } from 'prosemirror-model'; import { InputRule } from 'prosemirror-inputrules'; declare const isMarkActive: (state: EditorState, type: MarkType) => boolean; declare const isNodeActive: (state: EditorState, type: NodeType, attrs?: Record) => boolean; declare const getSelectionMarks: (state: EditorState) => readonly Mark[]; declare const getSelectionNodes: (state: EditorState) => Node[]; declare const markApplies: (doc: Node, ranges: readonly SelectionRange[], type: MarkType) => boolean; declare const markInputRule: (regexp: RegExp, markType: MarkType, attrs?: Record) => InputRule; declare const canInsert: (state: EditorState, nodeType: NodeType) => boolean; export { canInsert, getSelectionMarks, getSelectionNodes, isMarkActive, isNodeActive, markApplies, markInputRule };