import { RuleCategoryOption } from './designerConfig'; import { FormFieldMeta } from './useFormRuleRuntime'; /** * Props * - ruleId: 编辑已有规则 * - formId: 表单ID,传入后会自动写入 ruleData.formId,并加载该表单的规则变量库 * - formFields: 表单字段元数据列表,提供给 PropertyPanel/FieldSelector 用于字段下拉选择 * - prefilledData: 预填数据(如联动策略转换结果),新建时作为初始流程 */ type __VLS_Props = { ruleId?: string; formId?: string; formFields?: FormFieldMeta[]; /** 规则分类选项注入(优先级最高;缺省用 configureRuleCategories 的全局配置) */ ruleCategories?: RuleCategoryOption[]; prefilledData?: { ruleName?: string; ruleCode?: string; ruleType?: string; flowContent?: { nodes: any[]; edges: any[]; variables: any[]; }; }; }; declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { close: () => any; saved: () => any; }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{ onClose?: () => any; onSaved?: () => any; }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; declare const _default: typeof __VLS_export; export default _default;