import type { MarkType } from 'prosemirror-model';
import type { ActionSpec } from "../core/index.js";
export declare function defineActions<Keys extends string>(actions: Record<Keys, ActionSpec>): Record<Keys, ActionSpec>;
export declare function createToggleMarkAction(markType: MarkType): ActionSpec;
/**
 * Like createToggleMarkAction, but blocks applying the mark when the selection
 * boundaries would produce markdown that cannot round-trip (e.g. `word**,**`).
 * Removing the mark (toggling off) is always allowed.
 */
export declare function createMarkdownInlineMarkAction(markType: MarkType): ActionSpec;
