import { FlowState, OpState } from '@nosana/sdk'; import TaskManager from '../../../../task/TaskManager.js'; type TaskStatus = Record; type RedactedFlowState = Omit; type RedactedFlowStateWithOpStates = Omit & { opStates: RedactedFlowState[]; }; type TaskResponse = { all: TaskStatus | null; currentGroup: string | undefined; currentGroupStatus: TaskStatus | null; }; export type JobInfoResponse = RedactedFlowStateWithOpStates & { operations: TaskResponse | null; }; export declare function buildInfoObject(flowState: FlowState, task: TaskManager | undefined): JobInfoResponse; export {};