import { SchemaKey } from '@tachybase/schema';
export type Collection_deprecated = ReturnType<typeof useCollection_deprecated>;
/**
 * @deprecated use `useCollection` instead
 */
export declare const useCollection_deprecated: () => {
    resource: import("packages/sdk/lib").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?: ("required" | "optional" | "skip") | {
        dumpable: "required" | "optional" | "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;
};
