import React, { FC, ReactNode } from 'react';
import { type SchemaKey } from '@tachybase/schema';
import { type CollectionFieldOptions } from '../collection';
export declare const CollectionFieldContext: React.Context<CollectionFieldOptions>;
export type CollectionFieldProviderProps = {
    name?: SchemaKey;
    children?: ReactNode;
    allowNull?: boolean;
};
export declare const CollectionFieldProvider: FC<CollectionFieldProviderProps>;
export declare const useCollectionField: () => CollectionFieldOptions;
