import { CRUD } from '@easy-coder/sdk/data';
import { VariableCondition } from './type';
import { VariableDefine } from '../type';

export declare function isHasChildrenCondition(condition: VariableCondition.Desc): condition is VariableCondition.AndCondition | VariableCondition.OrCondition;
export declare function getRightDefineByLeftAndOp(leftDefine?: VariableDefine.Desc, op?: VariableCondition.Normal['op']): VariableDefine.Desc | undefined;
export declare function checkConditionIsComplete(condition: VariableCondition.Desc): boolean;
interface Options {
    context?: Record<string, any>;
    contextDefine?: Record<string, VariableDefine.Desc>;
    condition?: VariableCondition.Desc;
    scopeKey?: string;
}
export declare function variableConditionToModalCondition({ condition, context, contextDefine, scopeKey, }: Options): Promise<CRUD.Condition<any> | false | undefined>;
export {};
