import { QueryResponse } from '../components/types'; export interface IBoard { _id: string; name: string; pipelines?: IPipeline[]; } export interface IPipeline { _id: string; name: string; boardId: string; visibility: string; members?: any[]; memberIds?: string[]; bgColor?: string; isWatched: boolean; startDate?: Date; endDate?: Date; metric?: string; hackScoringType?: string; templateId?: string; state?: string; itemsTotalCount?: number; isCheckUser?: boolean; excludeCheckUserIds?: string[]; } export interface IStage { _id: string; name: string; type: string; probability: string; index?: number; itemId?: string; amount?: any; itemsTotalCount: number; formId: string; pipelineId: string; status: string; order: number; } export declare type BoardsQueryResponse = { boards: IBoard[]; } & QueryResponse; export declare type PipelinesQueryResponse = { pipelines: IPipeline[]; loading: boolean; refetch: ({ boardId, type }: { boardId?: string; type?: string; }) => Promise; }; export declare type StagesQueryResponse = { stages: IStage[]; loading: boolean; refetch: ({ pipelineId }: { pipelineId?: string; }) => Promise; }; //# sourceMappingURL=types.d.ts.map