import type { MarkType } from 'prosemirror-model';
import type { EditorState, Transaction } from 'prosemirror-state';
declare const toggleMark: (type: MarkType, attributes?: Record<string, any>, options?: {
    /**
     * Removes the mark even across the current selection. Defaults to `false`.
     */
    extendEmptyMarkRange?: boolean;
}) => (state: EditorState, dispatch?: (tr: Transaction) => void) => boolean;
export default toggleMark;
//# sourceMappingURL=toggleMark.d.ts.map