/**
 * 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 { CollectionFieldOptions_deprecated } from '../../../collection-manager';
import { Option } from '../type';
export declare const useIsSameOrChildCollection: () => (contextCollection: any, targetCollection: any) => boolean;
export declare const useContextAssociationFields: ({ schema, maxDepth, contextCollectionName, collectionField, }: {
    schema?: any;
    maxDepth?: number;
    contextCollectionName: string;
    collectionField?: CollectionFieldOptions_deprecated;
}) => Option;
