/**
 * GFM 告警块命令组。
 * 五种 preset + custom 共用 `alert` 弹窗。
 */
import type { EditorView } from "@codemirror/view";
import { Command, type CommandContext } from "../../../editor/commands/Command";
export type AlertKind = "NOTE" | "TIP" | "IMPORTANT" | "WARNING" | "CAUTION";
export type AlertVariant = Lowercase<AlertKind> | "custom";
export declare class AlertCommand implements Command {
    private readonly variant;
    /**
     * 创建固定告警类型的命令。
     * @param variant - 命令对应的预设告警类型或自定义占位类型
     */
    constructor(variant: AlertVariant);
    /**
     * 将选区转成 GFM 告警块，或插入带占位内容的新告警块。
     * @param view - 要修改的 CodeMirror 编辑器实例
     * @param _payload - 未使用的命令参数
     * @param _ctx - 未使用的命令上下文
     * @returns 始终返回 true，表示已插入告警块
     */
    execute(view: EditorView, _payload: unknown, _ctx: CommandContext): boolean;
}
export declare const alertNoteCommand: AlertCommand;
export declare const alertTipCommand: AlertCommand;
export declare const alertImportantCommand: AlertCommand;
export declare const alertWarningCommand: AlertCommand;
export declare const alertCautionCommand: AlertCommand;
//# sourceMappingURL=AlertCommand.d.ts.map