import { Schema } from '@formily/react'; /** * 将现有 properties 合入到 schema.items.properties 中 * @param schema * @param properties * @returns */ export declare const mergeItems: (schema: Schema, properties: any) => Schema; /** * 将现有 properties 合并到当前 schema 中 * @param schema * @param properties * @returns */ export declare const mergeProperties: (schema: Schema, properties: any) => Schema; /** * reactNode 转换成 type=void 的 schema */ export declare const reactNode2VoidSchema: (children?: any, componentsNameMap?: Set) => [any, Set, any]; /** * @description 使用 reactNode2SchemaV2 + getComponentNamesSet 替换该方法,逻辑拆分细些,更好封装,加钩子 * @deprecated */ export declare const reactNode2Schema: (children?: any[], componentsNameMap?: Set, targetComponents?: string[] | string) => any; export declare const reactNode2SchemaV2: (children: any[], targetComponents?: string[] | string) => any; /** * 获取要到 SchemaField 里注册的组件的名称集合 */ export declare const getComponentNamesSet: (children: any[], depth?: number, set?: Set) => Set;