/**
 * 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 { Schema } from '@formily/react';
import React from 'react';
/**
 * 将 CollectionField 的 uiSchema 映射到默认值弹窗里真正渲染的字段 schema。
 *
 * 默认值弹窗不会直接渲染 CollectionField，而是会把它替换成实际的表单组件。
 * 这里必须把选项字段依赖的 `enum` 也带过去，否则下拉 / 单选 / 多选在弹窗里会没有可选项。
 *
 * @param clonedSchema 当前字段 schema 的克隆副本
 * @param collectionFieldUiSchema 数据表字段上的 uiSchema
 * @example
 * ```typescript
 * const schema = { 'x-component': 'CollectionField' };
 * applyCollectionFieldUiSchemaToDefaultValueSchema(schema, {
 *   'x-component': 'Select',
 *   enum: [{ label: 'Option 1', value: 'option1' }],
 * });
 * ```
 */
export declare const applyCollectionFieldUiSchemaToDefaultValueSchema: (clonedSchema: Record<string, any>, collectionFieldUiSchema: Record<string, any>) => void;
export declare const SchemaSettingsDefaultValue: (props: {
    fieldSchema?: Schema;
    hideVariableButton?: boolean;
}) => React.JSX.Element;
