import type { Mark, MarkType } from '@atlaskit/editor-prosemirror/model'; import type { Transaction } from '@atlaskit/editor-prosemirror/state'; import type { EditorCommand } from '../types'; export declare function transformNonTextNodesToText(from: number, to: number, tr: Transaction): void; export declare const applyMarkOnRange: (from: number, to: number, removeMark: boolean, mark: Mark, tr: Transaction) => Transaction; /** * A custom version of the ProseMirror toggleMark, where we only toggle marks * on text nodes in the selection rather than all inline nodes. * @param markType * @param attrs */ export declare const toggleMark: (markType: MarkType, attrs?: { [key: string]: any; }) => EditorCommand; export { filterChildrenBetween } from './filterChildrenBetween'; export { entireSelectionContainsMark } from './entireSelectionContainsMark'; export { removeMark } from './removeMark';