/// export declare enum RELATION_TYPE { EVENT = "event", PROPS = "props", STYLE = "style", CUSTOM_EVENT = "customEvent" } /** * * @param isOpen 是否查询 * @param dataSourceCode 数据源编码 * @param isAll 是否获取所有关联位置 * @returns */ declare const useGetDataSourceRelation: (params: any) => { isUsed: boolean; loading: boolean; data: any[]; setIsUsed: import("react").Dispatch>; checkIfBindDataSource: (dataSourceCodeParams?: any, isGlobal?: any) => Promise<{ isUsed: boolean; data: any[]; }>; }; export default useGetDataSourceRelation;