/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import { VariableOption, VariablesContextType } from '../../../variables/types';
type VariablesCtx = {
    /** 当前登录的用户 */
    $user?: Record<string, any>;
    $date?: Record<string, any>;
    $form?: Record<string, any>;
};
export declare const parseVariables: (str: string, ctx: VariablesCtx | any) => any;
export declare function getInnermostKeyAndValue(obj: any): {
    key: string;
    value: any;
};
export declare const getTargetField: (obj: any) => any[];
export declare const conditionAnalyses: ({ ruleGroup, variables, localVariables, variableNameOfLeftCondition, conditionType, }: {
    ruleGroup: any;
    variables: VariablesContextType;
    localVariables: VariableOption[];
    variableNameOfLeftCondition?: string;
    conditionType?: 'advanced' | 'basic';
}, jsonLogic: any) => Promise<boolean>;
export declare function getRenderContent(templateEngine: any, content: any, variables: any, localVariables: any, defaultParse: any, t?: any): Promise<any>;
export {};
