import React from 'react';
import { Form, Schema } from '@tachybase/schema';
import { CollectionFieldOptions_deprecated } from '../..';
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) => import("react/jsx-runtime").JSX.Element;
export declare const useIsAllowToSetDefaultValue: ({ form, fieldSchema, collectionField }?: Props) => {
    isAllowToSetDefaultValue: (isSubTableColumn?: boolean) => boolean;
};
export declare const interfacesOfUnsupportedDefaultValue: string[];
export {};
