/**
 * 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, { FC, ReactNode } from 'react';
import type { DataSourceManager } from './DataSourceManager';
export declare const DataSourceManagerContext: React.Context<DataSourceManager>;
export interface DataSourceManagerProviderProps {
    dataSourceManager: DataSourceManager;
    children?: ReactNode;
}
export declare const DataSourceManagerProvider: FC<DataSourceManagerProviderProps>;
export declare function useDataSourceManager(): DataSourceManager;
/**
 * 获取当前 collection 继承链路上的所有 collection（不包括兄弟表）
 * @returns
 */
export declare function useAllCollectionsInheritChainGetter(): {
    getAllCollectionsInheritChain: (collectionName: string, customDataSource?: string) => string[];
};
