import { CommandBase, PostCommandContext } from '../base/CommandBase';
import { Doc } from '../../view/Doc';
import { CommandPayloadMap } from '../types';
/**
 * 设置文本对齐方式命令
 */
export declare class SetAlign extends CommandBase<'setAlign'> {
    constructor(doc: Doc, payload: CommandPayloadMap['setAlign']);
    protected execute(): Promise<PostCommandContext>;
    /**
     * 处理折叠状态下的对齐设置
     */
    private handleCollapse;
    /**
     * 处理选区下的对齐设置
     */
    private handleSelection;
}
