/** * 根据用户传入自定义字段特殊配置及特殊控件类型,返回不同的字段可配置项 */ import { FormItemType } from "../../../../MagicExpressionWidget/types"; type CustomConfigProps = { value: any; name: string; type: string; }; export default function useCustomConfig({ value, name, type }: CustomConfigProps): { expressionSourceWithDefaultOptions: (import("../../../../common/BaseUI/DropdownRenderer/Reference").DataSourceOption | { title: string; key: string; nodeId: string; nodeType: import("../../../../MagicFlow").BaseNodeType; type: string; isRoot: boolean; children: { title: string; key: string; nodeId: string; nodeType: import("../../../../MagicFlow").BaseNodeType; type: FormItemType; isRoot: boolean; children: any[]; isConstant: boolean; }[]; })[]; _onlyExpression: any; _allowOperation: any; canAddSubFields: boolean; _constantDataSource: any; _allowAdd: any; }; export {};