import { z } from "zod"; export declare const CiHostSchema: z.ZodEnum<{ github: "github"; gitlab: "gitlab"; }>; export type CiHost = z.infer; export declare const PipelineStatusSchema: z.ZodEnum<{ canceled: "canceled"; failed: "failed"; queued: "queued"; running: "running"; skipped: "skipped"; success: "success"; }>; export type PipelineStatus = z.infer; export declare const isPipelineInFlight: (status: PipelineStatus) => boolean; export declare const PipelineRunSchema: z.ZodObject<{ repo: z.ZodString; host: z.ZodEnum<{ github: "github"; gitlab: "gitlab"; }>; project: z.ZodString; runId: z.ZodNumber; title: z.ZodOptional; authorName: z.ZodOptional; authorAvatarUrl: z.ZodOptional; trigger: z.ZodOptional; workflow: z.ZodOptional; branch: z.ZodString; sha: z.ZodString; status: z.ZodEnum<{ canceled: "canceled"; failed: "failed"; queued: "queued"; running: "running"; skipped: "skipped"; success: "success"; }>; url: z.ZodString; createdAt: z.ZodNumber; durationSeconds: z.ZodOptional; failedJobs: z.ZodOptional>; }, z.core.$strip>; export type PipelineRun = z.infer; export declare const PipelineJobSchema: z.ZodObject<{ name: z.ZodString; status: z.ZodEnum<{ canceled: "canceled"; failed: "failed"; queued: "queued"; running: "running"; skipped: "skipped"; success: "success"; }>; stage: z.ZodOptional; needs: z.ZodOptional>; declaredId: z.ZodOptional; matrix: z.ZodOptional; startedAt: z.ZodOptional; finishedAt: z.ZodOptional; durationSeconds: z.ZodOptional; webUrl: z.ZodOptional; }, z.core.$strip>; export type PipelineJob = z.infer; export declare const CiJobsResponseSchema: z.ZodObject<{ jobs: z.ZodArray; stage: z.ZodOptional; needs: z.ZodOptional>; declaredId: z.ZodOptional; matrix: z.ZodOptional; startedAt: z.ZodOptional; finishedAt: z.ZodOptional; durationSeconds: z.ZodOptional; webUrl: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type CiJobsResponse = z.infer; export declare const CiRepoSchema: z.ZodObject<{ repo: z.ZodString; host: z.ZodEnum<{ github: "github"; gitlab: "gitlab"; }>; project: z.ZodString; url: z.ZodString; hookWarning: z.ZodOptional; hookRecipe: z.ZodOptional; }, z.core.$strip>; export type CiRepo = z.infer; export declare const CI_POLL_INTERVAL_MS: number; export declare const MainFailureDecisionKindSchema: z.ZodEnum<{ "fix-up": "fix-up"; reported: "reported"; spent: "spent"; }>; export type MainFailureDecisionKind = z.infer; export declare const MainFailureHandBackSchema: z.ZodEnum<{ gone: "gone"; interrupted: "interrupted"; "no-change": "no-change"; refused: "refused"; stopped: "stopped"; "turn-failed": "turn-failed"; turns: "turns"; }>; export type MainFailureHandBack = z.infer; export declare const MainFailureDecisionSchema: z.ZodObject<{ kind: z.ZodEnum<{ "fix-up": "fix-up"; reported: "reported"; spent: "spent"; }>; reason: z.ZodOptional>; conversationId: z.ZodOptional; at: z.ZodNumber; detail: z.ZodOptional; }, z.core.$strip>; export type MainFailureDecision = z.infer; export declare const CiMainFailureWorkflowSchema: z.ZodObject<{ name: z.ZodString; runId: z.ZodNumber; jobs: z.ZodArray; }, z.core.$strip>; export type CiMainFailureWorkflow = z.infer; export declare const CiMainFailureSchema: z.ZodObject<{ repo: z.ZodString; branch: z.ZodString; since: z.ZodNumber; runId: z.ZodNumber; jobs: z.ZodArray; workflows: z.ZodOptional; }, z.core.$strip>>>; fixer: z.ZodOptional; decision: z.ZodOptional; reason: z.ZodOptional>; conversationId: z.ZodOptional; at: z.ZodNumber; detail: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type CiMainFailure = z.infer; export declare const CiRunsResponseSchema: z.ZodObject<{ repos: z.ZodArray; project: z.ZodString; url: z.ZodString; hookWarning: z.ZodOptional; hookRecipe: z.ZodOptional; }, z.core.$strip>>; runs: z.ZodArray; project: z.ZodString; runId: z.ZodNumber; title: z.ZodOptional; authorName: z.ZodOptional; authorAvatarUrl: z.ZodOptional; trigger: z.ZodOptional; workflow: z.ZodOptional; branch: z.ZodString; sha: z.ZodString; status: z.ZodEnum<{ canceled: "canceled"; failed: "failed"; queued: "queued"; running: "running"; skipped: "skipped"; success: "success"; }>; url: z.ZodString; createdAt: z.ZodNumber; durationSeconds: z.ZodOptional; failedJobs: z.ZodOptional>; }, z.core.$strip>>; failures: z.ZodOptional; workflows: z.ZodOptional; }, z.core.$strip>>>; fixer: z.ZodOptional; decision: z.ZodOptional; reason: z.ZodOptional>; conversationId: z.ZodOptional; at: z.ZodNumber; detail: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>; export type CiRunsResponse = z.infer; export declare const CiRunParamSchema: z.ZodObject<{ repo: z.ZodString; runId: z.ZodNumber; }, z.core.$strip>; export type CiRunParam = z.infer; export declare const CiFixParamSchema: z.ZodObject<{ repo: z.ZodString; runId: z.ZodNumber; pick: z.ZodOptional; harness: z.ZodOptional>; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; }, z.core.$strip>>; fallback: z.ZodOptional; harness: z.ZodOptional>; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; }, z.core.$strip>>; mode: z.ZodOptional>; force: z.ZodOptional; }, z.core.$strip>; export type CiFixParam = z.infer; export declare const CiFixResponseSchema: z.ZodObject<{ conversationId: z.ZodString; }, z.core.$strip>; export type CiFixResponse = z.infer; export declare const CommandRunStatusSchema: z.ZodEnum<{ cancelled: "cancelled"; error: "error"; failed: "failed"; idle: "idle"; passed: "passed"; running: "running"; }>; export type CommandRunStatus = z.infer; export declare const CommandRunSchema: z.ZodObject<{ status: z.ZodEnum<{ cancelled: "cancelled"; error: "error"; failed: "failed"; idle: "idle"; passed: "passed"; running: "running"; }>; command: z.ZodString; startedAt: z.ZodOptional; finishedAt: z.ZodOptional; exitCode: z.ZodOptional; timedOut: z.ZodOptional; session: z.ZodOptional; output: z.ZodString; }, z.core.$strip>; export type CommandRun = z.infer; //# sourceMappingURL=ci.d.ts.map