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