import { UseQueryOptions } from 'react-query'; export interface ISubProject { projectId: string; projName: string; iamgeUrl: string; creationDate: string; } export interface SubProjectsConfig { projectId?: string; /** 只返回某一类的工作项类型 */ typeCode?: string | string[]; /** 只查询启用的 */ onlySelectEnable?: boolean; } export default function useSubProjects(config?: SubProjectsConfig, options?: UseQueryOptions): import("react-query/types/").QueryObserverResult;