import { BaseLeafOperation } from '../../type';
import { AppModel } from '../../../AppModel/AppModel';
export declare type MoveComponentLeafOperationContext = {
    componentId: string;
    parent?: string;
    slot?: string;
};
export declare class MoveComponentLeafOperation extends BaseLeafOperation<MoveComponentLeafOperationContext> {
    private originParent;
    private originSlot;
    do(prev: AppModel): AppModel;
    redo(prev: AppModel): AppModel;
    undo(prev: AppModel): AppModel;
}
