import { CollectionFieldOptions_deprecated, CollectionOptions } from '../types';
/**
 * @deprecated use `useCollectionManager` instead
 */
export declare const useCollectionManager_deprecated: (dataSourceName?: string) => {
    service: () => Promise<void>;
    interfaces: {};
    collections: import("../..").Collection[];
    templates: import("../..").CollectionTemplate[];
    getTemplate: (name?: string) => import("../..").CollectionTemplate;
    getInterface: (name: string) => import("../..").CollectionFieldInterface;
    getCollections: () => CollectionOptions[];
    getParentCollectionFields: (parentCollection: any, currentCollection: any, customDataSource?: string) => import("../..").CollectionFieldOptions[];
    getInheritCollections: (name: any, customDataSource?: string) => string[];
    getChildrenCollections: (name: string, isSupportView?: boolean, customDataSource?: string) => import("../..").Collection[];
    refreshCM: () => Promise<void>;
    get: (name: any, customDataSource?: string) => CollectionOptions;
    getInheritedFields: (name: string, customDataSource?: string) => import("../..").CollectionFieldOptions[];
    getCollectionField: (name: string, customDataSource?: string) => any;
    getCollectionFields: (name: any, customDataSource?: string) => CollectionFieldOptions_deprecated[];
    getCollectionFieldsOptions: (collectionName: string, type?: string | string[], opts?: {
        dataSource?: string;
        cached?: Record<string, any>;
        collectionNames?: string[];
        /**
         * 为 true 时允许查询所有关联字段
         * 为 Array<string> 时仅允许查询指定的关联字段
         */
        association?: boolean | string[];
        /**
         * Max depth of recursion
         */
        maxDepth?: number;
        allowAllTypes?: boolean;
        /**
         * 排除这些接口的字段
         */
        exceptInterfaces?: string[];
        /**
         * field value 的前缀，用 . 连接，比如 a.b.c
         */
        prefixFieldValue?: string;
        /**
         * 是否使用 prefixFieldValue 作为 field value
         */
        usePrefix?: boolean;
    }) => any;
    getCurrentCollectionFields: (name: string, customDataSource?: string) => import("../..").CollectionFieldOptions[];
    getCollection: (name: any, customDataSource?: string) => CollectionOptions;
    getCollectionJoinField: (name: string, customDataSource?: string) => any;
    getAllCollectionsInheritChain: (collectionName: string, customDataSource?: string) => string[];
    getInheritCollectionsChain: (collectionName: string, customDataSource?: string) => () => string[];
    isTitleField: (field: any) => boolean;
};
