import type { Mark, MarkType, Node } from 'prosemirror-model'; import type { EditorState } from 'prosemirror-state'; export declare const findMark: (node: Node, markType: MarkType) => Mark | undefined; export declare function isMarkActive(state: EditorState, type: MarkType): boolean | Mark | undefined; /** * Returns `false` when the current selection cannot be wrapped in an inline mark * without breaking markdown round-trip, per CommonMark flanking delimiter rules: * https://spec.commonmark.org/0.31.2/#left-flanking-delimiter-run */ export declare function canApplyInlineMarkInMarkdown(state: EditorState): boolean;