import type { FormShowRuleDto, Rule } from '../interfaces/ShowHiddenRule'; export declare function ruleDtoToRule(ruleDto: FormShowRuleDto): Rule; /** * 添加显隐规则 * @param busiObjectId 表单id * @param rule 规则 * @returns */ export declare function addFormShowRule(busiObjectId: string, rule: Rule): Promise; interface GetFormShowRuleParams { busiObjectId: string; } /** * 获取显隐规则列表 * @param params */ export declare function getFormShowRule(params: GetFormShowRuleParams): Promise; interface DeleteFormShowRuleParams { id: string; } /** * 删除显隐规则 * @param params */ export declare function deleteFormShowRule(params: DeleteFormShowRuleParams): Promise; interface UpdateFormShowRuleParams { id: string; busiObjectId?: string; appId?: string; ruleName?: string; ruleCondition?: string; ruleResult?: string; state?: string; } /** * 更新显隐规则 * @param params * @returns */ export declare function updateFormShowRule(params: UpdateFormShowRuleParams): Promise; export {};