import { Command } from "../../../editor/commands/Command";
import type { EditorView } from "@codemirror/view";
declare class HeadingCommand implements Command {
    private level;
    /** @param level - 标题级别，1–6 对应 `#` ~ `######` */
    constructor(level: number);
    /**
     * 将当前行设置为该命令固定级别的标题。
     * @param view - 要修改的 CodeMirror 编辑器实例
     * @returns 标题级别无效时返回 false，否则返回前缀设置结果
     */
    execute(view: EditorView): boolean;
}
/** `heading1` — 一级标题 `# ` */
export declare const heading1Command: HeadingCommand;
/** `heading2` — 二级标题 `## ` */
export declare const heading2Command: HeadingCommand;
/** `heading3` — 三级标题 `### ` */
export declare const heading3Command: HeadingCommand;
/** `heading4` — 四级标题 `#### ` */
export declare const heading4Command: HeadingCommand;
/** `heading5` — 五级标题 `##### ` */
export declare const heading5Command: HeadingCommand;
/** `heading6` — 六级标题 `###### ` */
export declare const heading6Command: HeadingCommand;
export {};
//# sourceMappingURL=HeadingCommand.d.ts.map