import { ConditionRenderService } from "../conditionRenderService";
import { ComputedRenderPropsChildren, ConditionType, ResultDataType } from "../conditionRenderService/type";
import { RowLogicType } from "./type";
export declare class LogicRenderService {
    conditionRenderService: ConditionRenderService;
    private logicData;
    constructor();
    /**
     * 初始化数据内容
     * @param data
     */
    load(data?: RowLogicType[]): void;
    /**
     * 给条件表达式重新处理一下序号，用于后期或者调试知道执行到第几步
     * @param data
     */
    setSequence(data: RowLogicType[]): RowLogicType[];
    /**
     * 创建基本条件
     * @returns
     */
    createData(): RowLogicType;
    createConditionData(type?: ConditionType): ComputedRenderPropsChildren[];
    createResultData(): ResultDataType;
    /**
     * 增加
     * @param data
     * @returns
     */
    addRowData(data: RowLogicType): RowLogicType[];
    /**
    * 删除
    * @param data
    * @returns
    */
    removeRowData(data: RowLogicType): RowLogicType[];
    /**
     * 找到指定children补充内容
     * @param data
     * @returns
     */
    addChildrenLogic(data: RowLogicType): RowLogicType[];
    /**
      * 修改行属性
      * @param data
      */
    alterRowData(data: RowLogicType): RowLogicType[];
    /**
    * 判断是否是最后一个
    * @returns
    */
    isLastData(data: RowLogicType): boolean;
    private handleAnalyzeLogic;
    /**
     * 处理返回逻辑，可能内嵌字逻辑也可能是返回结果
     * @param item
     * @returns
     */
    private handleReturnAnalyze;
    private handleAddRowData;
    private handleRemoveRowData;
    private handleAddChildrenLogic;
    private handleAlterRowData;
    private getIndexById;
    /**
     * 调用 ConditionRenderService 去做处理
     * @param config
     * @returns
     */
    private getConditionResult;
    private handleSequence;
    private getSeqString;
}
