import { FC, ReactNode } from 'react';
import { Collection } from './Collection';
export interface AssociationProviderProps {
    dataSource?: string;
    name: string;
    children?: ReactNode;
}
export declare const useParentCollection: () => Collection;
export declare const AssociationProvider: FC<AssociationProviderProps>;
/**
 * 用来获取关系字段的信息，例如用户表中的角色字段就是这样的值：users.roles
 * @returns
 */
export declare const useAssociationName: () => string;
