/**
 * 自定义容器命令组。
 * 四种 preset 共用 `container` 弹窗。
 */
import type { EditorView } from "@codemirror/view";
import { Command, type CommandContext } from "../../../editor/commands/Command";
export type ContainerVariant = "tip" | "warning" | "note" | "info" | "important" | "caution" | "danger" | "center" | "left" | "right" | "justify" | "custom";
export declare class ContainerCommand implements Command {
    private readonly variant;
    /**
     * 创建固定容器预设的命令。
     * @param variant - 决定容器类型和默认标题的预设标识
     */
    constructor(variant: ContainerVariant);
    /**
     * 用容器语法包裹选区，或插入可编辑的默认容器。
     * @param view - 要修改的 CodeMirror 编辑器实例
     * @param _payload - 未使用的命令参数
     * @param _ctx - 未使用的命令上下文
     * @returns 始终返回 true，表示已插入容器
     */
    execute(view: EditorView, _payload: unknown, _ctx: CommandContext): boolean;
}
export declare const containerTipCommand: ContainerCommand;
export declare const containerWarningCommand: ContainerCommand;
export declare const containerNoteCommand: ContainerCommand;
export declare const containerInfoCommand: ContainerCommand;
export declare const containerImportantCommand: ContainerCommand;
export declare const containerCautionCommand: ContainerCommand;
export declare const containerDangerCommand: ContainerCommand;
export declare const containerCenterCommand: ContainerCommand;
export declare const containerLeftCommand: ContainerCommand;
export declare const containerRightCommand: ContainerCommand;
export declare const containerJustifyCommand: ContainerCommand;
//# sourceMappingURL=ContainerCommand.d.ts.map