/**
 * 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 { SchemaKey } from '@formily/react';
export type Collection_deprecated = ReturnType<typeof useCollection_deprecated>;
/**
 * @deprecated use `useCollection` instead
 */
export declare const useCollection_deprecated: () => {
    resource: import("@nocobase/sdk").IResource;
    getTreeParentField: () => import("../..").CollectionFieldOptions;
    fields: import("../..").CollectionFieldOptions[];
    getField: (name: SchemaKey) => any;
    getPrimaryKey: () => string;
    currentFields: import("../..").CollectionFieldOptions[];
    inheritedFields: import("../..").CollectionFieldOptions[];
    foreignKeyFields: import("../..").CollectionFieldOptions[];
    name: string;
    title?: string;
    dataSource?: string;
    duplicator?: ("optional" | "required" | "skip") | {
        dumpable: "optional" | "required" | "skip";
        with?: string | string[];
        delayRestore?: any;
    };
    tableName?: string;
    inherits?: string | string[];
    inherit?: string;
    key?: string;
    viewName?: string;
    writableView?: boolean;
    filterTargetKey?: string;
    model?: any;
    repository?: any;
    sortable?: string | boolean | {
        name?: string;
        scopeKey?: string;
    };
    autoGenId?: boolean;
    magicAttribute?: string;
    tree?: string;
    template?: string;
    isThrough?: boolean;
    autoCreate?: boolean;
    collectionName?: string;
    sourceKey?: string;
    uiSchema?: any;
};
