import { z } from 'zod/v4'; export declare const TaskStatusSchema: z.ZodEnum<{ pending: "pending"; running: "running"; completed: "completed"; failed: "failed"; exceeded: "exceeded"; pr_failed: "pr_failed"; }>; export type TaskStatus = z.infer; export declare const TaskFailureSchema: z.ZodObject<{ step: z.ZodOptional; error: z.ZodPipe>; last_message: z.ZodOptional; retryable: z.ZodOptional; }, z.core.$strict>; export type TaskFailure = z.infer; export declare const TaskRecordSchema: z.ZodPipe>, z.ZodObject<{ goal_id: z.ZodOptional; goal_purpose: z.ZodOptional; goal_work_key: z.ZodOptional; worktree: z.ZodOptional>; branch: z.ZodOptional; base_branch: z.ZodOptional; workflow: z.ZodOptional; issue: z.ZodOptional; start_step: z.ZodOptional; retry_note: z.ZodOptional; auto_pr: z.ZodOptional; draft_pr: z.ZodOptional; managed_pr: z.ZodOptional; should_publish_branch_to_origin: z.ZodOptional; exceeded_max_steps: z.ZodOptional; exceeded_current_iteration: z.ZodOptional; source: z.ZodOptional>; pr_number: z.ZodOptional; context_pr_number: z.ZodOptional; caccia_execution_source: z.ZodOptional>; caccia_pushed_head: z.ZodOptional; }, z.core.$strict>>; merge_task: z.ZodOptional; merge_method: z.ZodOptional>; merge_concurrency: z.ZodOptional; merge_threat_check_max_diff_bytes: z.ZodOptional; merge_head_repository_url: z.ZodOptional; merge_head_repository_push_urls: z.ZodOptional>; merge_initial_head_sha: z.ZodOptional; merge_clone_prepared: z.ZodOptional; merge_known_remote_head_sha: z.ZodOptional; merge_pushed_head_sha: z.ZodOptional; merge_push_base_head_sha: z.ZodOptional; merge_push_source: z.ZodOptional>; resume_point: z.ZodOptional>>; source_resume_point: z.ZodOptional>>; restart_point: z.ZodOptional; call_instance: z.ZodOptional>; step_iterations: z.ZodOptional; }, z.core.$strict>>; iteration: z.ZodOptional; elapsed_ms: z.ZodOptional; }, z.core.$strict>>; name: z.ZodString; status: z.ZodEnum<{ pending: "pending"; running: "running"; completed: "completed"; failed: "failed"; exceeded: "exceeded"; pr_failed: "pr_failed"; }>; deletion: z.ZodOptional; }, z.core.$strip>>; slug: z.ZodOptional; run_slug: z.ZodOptional; execution_id: z.ZodOptional; stop_request: z.ZodOptional>; source_run_slug: z.ZodOptional; resume_mode: z.ZodOptional>; summary: z.ZodOptional; worktree_path: z.ZodOptional; pr_url: z.ZodOptional; content: z.ZodOptional; content_file: z.ZodOptional; task_dir: z.ZodOptional; created_at: z.ZodString; started_at: z.ZodNullable; completed_at: z.ZodNullable; owner_pid: z.ZodOptional>; owner_start_time: z.ZodOptional>; failure: z.ZodOptional; error: z.ZodPipe>; last_message: z.ZodOptional; retryable: z.ZodOptional; }, z.core.$strict>>; completion: z.ZodOptional; sha: z.ZodOptional; shaUnavailableReason: z.ZodOptional; failureReason: z.ZodOptional; workflowResult: z.ZodOptional>; }, z.core.$strict>>; auto_requeue_count: z.ZodOptional; }, z.core.$strict>>; export type TaskRecord = z.infer; export declare const TasksFileSchema: z.ZodObject<{ tasks: z.ZodArray>, z.ZodObject<{ goal_id: z.ZodOptional; goal_purpose: z.ZodOptional; goal_work_key: z.ZodOptional; worktree: z.ZodOptional>; branch: z.ZodOptional; base_branch: z.ZodOptional; workflow: z.ZodOptional; issue: z.ZodOptional; start_step: z.ZodOptional; retry_note: z.ZodOptional; auto_pr: z.ZodOptional; draft_pr: z.ZodOptional; managed_pr: z.ZodOptional; should_publish_branch_to_origin: z.ZodOptional; exceeded_max_steps: z.ZodOptional; exceeded_current_iteration: z.ZodOptional; source: z.ZodOptional>; pr_number: z.ZodOptional; context_pr_number: z.ZodOptional; caccia_execution_source: z.ZodOptional>; caccia_pushed_head: z.ZodOptional; }, z.core.$strict>>; merge_task: z.ZodOptional; merge_method: z.ZodOptional>; merge_concurrency: z.ZodOptional; merge_threat_check_max_diff_bytes: z.ZodOptional; merge_head_repository_url: z.ZodOptional; merge_head_repository_push_urls: z.ZodOptional>; merge_initial_head_sha: z.ZodOptional; merge_clone_prepared: z.ZodOptional; merge_known_remote_head_sha: z.ZodOptional; merge_pushed_head_sha: z.ZodOptional; merge_push_base_head_sha: z.ZodOptional; merge_push_source: z.ZodOptional>; resume_point: z.ZodOptional>>; source_resume_point: z.ZodOptional>>; restart_point: z.ZodOptional; call_instance: z.ZodOptional>; step_iterations: z.ZodOptional; }, z.core.$strict>>; iteration: z.ZodOptional; elapsed_ms: z.ZodOptional; }, z.core.$strict>>; name: z.ZodString; status: z.ZodEnum<{ pending: "pending"; running: "running"; completed: "completed"; failed: "failed"; exceeded: "exceeded"; pr_failed: "pr_failed"; }>; deletion: z.ZodOptional; }, z.core.$strip>>; slug: z.ZodOptional; run_slug: z.ZodOptional; execution_id: z.ZodOptional; stop_request: z.ZodOptional>; source_run_slug: z.ZodOptional; resume_mode: z.ZodOptional>; summary: z.ZodOptional; worktree_path: z.ZodOptional; pr_url: z.ZodOptional; content: z.ZodOptional; content_file: z.ZodOptional; task_dir: z.ZodOptional; created_at: z.ZodString; started_at: z.ZodNullable; completed_at: z.ZodNullable; owner_pid: z.ZodOptional>; owner_start_time: z.ZodOptional>; failure: z.ZodOptional; error: z.ZodPipe>; last_message: z.ZodOptional; retryable: z.ZodOptional; }, z.core.$strict>>; completion: z.ZodOptional; sha: z.ZodOptional; shaUnavailableReason: z.ZodOptional; failureReason: z.ZodOptional; workflowResult: z.ZodOptional>; }, z.core.$strict>>; auto_requeue_count: z.ZodOptional; }, z.core.$strict>>>; }, z.core.$strip>; export type TasksFileData = z.infer; export declare function serializeTaskRecord(record: TaskRecord): Record; export declare function serializeTasksFileData(state: TasksFileData): { tasks: Record[]; }; //# sourceMappingURL=taskRecordSchemas.d.ts.map