import { ComputedRenderPropsChildren, ResultDataType } from "../conditionRenderService/type";
export declare enum SelectLogicType {
    IF = "if",
    ELSEIF = "elseIf",
    ElSE = "else"
}
export declare enum ReturnType {
    /**
     * 返回条件配置
     */
    RETURN_CONFIG = 0,
    /**
     * 返回一个新的逻辑配置
     */
    RETURN_LOGIC = 1
}
export interface ReturnOptionType {
    label: string;
    value: ReturnType;
}
export interface RowLogicDetail {
    data: ComputedRenderPropsChildren[];
    resultData: ResultDataType;
}
export interface RowLogicType {
    id: string;
    type: SelectLogicType;
    conditionConfig: RowLogicDetail;
    returnType: ReturnType;
    returnConfig: RowLogicDetail;
    children: RowLogicType[];
    seq?: string;
    [key: string]: any;
}
export interface DialogType {
    type: keyof Pick<RowLogicType, 'conditionConfig' | 'returnConfig'>;
    visible: boolean;
    title: string;
    detailConfig: RowLogicDetail;
}
export interface LogicRenderProps {
    value?: RowLogicType[];
    field?: any;
    [key: string]: any;
}
