import { UseQueryOptions, QueryKey } from 'react-query'; import { IStatus } from '@/common/types'; export interface ProjecStatustKeyConfig { key: QueryKey; issueTypeId?: string; projectId?: string; } export interface StatusConfig { applyType?: 'agile' | 'program'; /** 只返回某一工作项类型的状态 */ issueTypeId?: string; projectId?: string; } export default function useProjectStatus(config?: StatusConfig, options?: UseQueryOptions): import("react-query/types/").QueryObserverResult;