import type { CrashReport } from "@ai-kod/common"; import { z } from "zod"; import type { ActionDescriptor } from "../types.js"; declare const CrashReportActionSchema: z.ZodEffects; reportId: z.ZodOptional; mode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { taskId: string; action: "list" | "show"; mode?: "summary" | "verbose" | undefined; reportId?: string | undefined; }, { taskId: string; action: "list" | "show"; mode?: "summary" | "verbose" | undefined; reportId?: string | undefined; }>, { taskId: string; action: "list" | "show"; mode?: "summary" | "verbose" | undefined; reportId?: string | undefined; }, { taskId: string; action: "list" | "show"; mode?: "summary" | "verbose" | undefined; reportId?: string | undefined; }>; export type TaskCrashReportsInput = z.infer; export type TaskCrashReportMode = "summary" | "verbose"; export interface TaskCrashReportListItem { reportId: string; filename: string; absolutePath: string; createdAt: string; size: number; scope: "task" | "step"; stepId?: string; } export interface TaskCrashReportsListOutput { success: true; taskId: string; mode: TaskCrashReportMode; items: TaskCrashReportListItem[]; } export interface TaskCrashReportsShowOutput { success: true; taskId: string; mode: TaskCrashReportMode; scope: "task" | "step"; stepId?: string; report: CrashReport; } export type TaskCrashReportsOutput = TaskCrashReportsListOutput | TaskCrashReportsShowOutput; export declare const taskCrashReportsAction: ActionDescriptor; export {};