import { AppModel } from '../../../AppModel/AppModel';
import { ComponentId } from '../../../AppModel/IAppModel';
import { BaseLeafOperation } from '../../type';
export declare type AdjustComponentOrderLeafOperationContext = {
    componentId: ComponentId;
    targetId?: ComponentId;
    direction: 'prev' | 'next';
};
export declare class AdjustComponentOrderLeafOperation extends BaseLeafOperation<AdjustComponentOrderLeafOperationContext> {
    private prevComponentId?;
    do(prev: AppModel): AppModel;
    redo(prev: AppModel): AppModel;
    undo(prev: AppModel): AppModel;
    private move;
}
