import type { FastifyReply } from "fastify"; import { WorkflowService } from "./workflow.service.js"; import { ProjectsService } from "../projects/projects.service.js"; export declare class WorkflowController { private readonly service; private readonly projects?; constructor(service: WorkflowService, projects?: ProjectsService | undefined); private root; list(): Promise; run(type: string, body: { input?: Record; projectRoot?: string; }, headerRoot?: string): Promise<{ runId: string; }>; listRuns(limit?: string, offset?: string, projectRoot?: string, headerRoot?: string): Promise; getRun(id: string, projectRoot?: string, headerRoot?: string): Promise<{ runId: string; workflowName: any; status: any; steps: never[]; startedAt: any; finishedAt: any; failureCategory: string | undefined; failureReason: string | undefined; failureEvidence: never[]; } | { runId: string; workflowName: string; status: "failed" | "completed" | "running" | "canceled"; steps: { stepId: string; status: "failed" | "running" | "success" | "pending" | "skipped"; output: unknown; error: string | undefined; }[]; startedAt: number; finishedAt: number | undefined; failureCategory: import("@devflow-tools/sdk").FailureCategory | null; failureReason: string | undefined; failureEvidence: Record | undefined; }>; stream(id: string, projectRoot: string | undefined, headerRoot: string | undefined, lastEventId: string | undefined, reply: FastifyReply): Promise; approve(id: string): Promise<{ approved: boolean; }>; reject(id: string, body: { reason?: string; }): Promise<{ rejected: boolean; }>; nextStep(runId?: string): Promise; } //# sourceMappingURL=workflow.controller.d.ts.map