/**
 * 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 { Form } from '@formily/core';
import { Schema } from '@formily/react';
import React from 'react';
import { CollectionFieldOptions_deprecated } from '../../collection-manager/types';
interface DefaultValueProviderProps {
    isAllowToSetDefaultValue: (params: IsAllowToSetDefaultValueParams) => boolean;
    children: React.ReactNode;
}
export interface IsAllowToSetDefaultValueParams {
    collectionField: CollectionFieldOptions_deprecated;
    getInterface: (name: string) => any;
    formBlockType?: 'update' | 'create';
    form: Form;
    fieldSchema: Schema<any, any, any, any, any, any, any, any, any>;
    isSubTableColumn?: boolean;
}
interface Props {
    form?: Form;
    fieldSchema?: Schema<any, any, any, any, any, any, any, any, any>;
    collectionField?: CollectionFieldOptions_deprecated;
}
export declare const DefaultValueProvider: (props: DefaultValueProviderProps) => React.JSX.Element;
export declare const useIsAllowToSetDefaultValue: ({ form, fieldSchema, collectionField }?: Props) => {
    isAllowToSetDefaultValue: (isSubTableColumn?: boolean) => boolean;
};
export declare const interfacesOfUnsupportedDefaultValue: string[];
export {};
