/**
 * 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 React from 'react';
export declare const RecordContext_deprecated: React.Context<{}>;
export declare const RecordIndexContext: React.Context<any>;
/**
 * @deprecated use `CollectionRecordProvider` instead
 */
export declare const RecordProvider: React.FC<{
    record: any;
    parent?: any;
    isNew?: boolean;
    collectionName?: string;
}>;
export declare const RecordSimpleProvider: React.FC<{
    value: Record<string, any>;
    children: React.ReactNode;
}>;
export declare const RecordIndexProvider: React.FC<{
    index: any;
}>;
/**
 * @deprecated use `useCollectionRecord` instead
 */
export declare function useRecord<D = any>(): D;
export declare function useRecordIndex(): any;
export declare const useRecordIsOwn: () => boolean;
