import { EditorState, Transaction } from 'prosemirror-state'; import { EditorView } from 'prosemirror-view'; import { Types } from '../libs'; declare const clearFormat: (view: EditorView) => boolean; declare const getFormat: (view: EditorView, range?: Types.IRangeStatic | undefined) => Types.StringMap; declare const formatSelection: (formatType: string, formatValue: Types.StringMap | boolean, formatRange?: { from: number; to: number; } | undefined) => (state: EditorState, tr: Transaction) => Transaction; export { clearFormat, formatSelection, getFormat };