import type { NodeType } from 'prosemirror-model'; import type { EditorState } from 'prosemirror-state'; import { type HeadingLevel } from "./const.js"; export declare const hasParentHeading: (level: HeadingLevel) => (state: EditorState) => boolean; export declare function headingRule(nodeType: NodeType, maxLevel: HeadingLevel): import("prosemirror-inputrules").InputRule;