import { CommandBase, PostCommandContext } from '../base/CommandBase';
import { Doc } from '../../view/Doc';
import { Wtc } from '../../model/document';
import { BoundedRegion, Region } from '../../model/logic';
import { CommandPayloadMap } from '../types';
export declare class SetBoundedItem extends CommandBase<'setBoundedItem'> {
    constructor(doc: Doc, payload?: CommandPayloadMap['setBoundedItem']);
    protected execute(): Promise<PostCommandContext>;
    /**
     *
     * @param startCell
     * @param endCell
     * @returns
     */
    protected getBoundedRegion(startCell: Wtc, endCell: Wtc): BoundedRegion | undefined;
    /**
     * 获取公共区域
     * @param startCell
     * @param endCell
     * @returns
     */
    protected getRegion(startCell: Wtc, endCell: Wtc): Region | undefined;
}
