import { EventPayload, JsonError } from "../types.cjs";
import { z } from "zod/v3";

//#region src/api/schema.d.ts
declare const errorSchema: z.ZodObject<{
  error: z.ZodString;
  status: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
  status: number;
  error: string;
}, {
  status: number;
  error: string;
}>;
type ErrorResponse = z.infer<typeof errorSchema>;
declare const stepSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
  type: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"data">>>;
  data: z.ZodEffects<z.ZodAny, any, any>;
}, "strict", z.ZodTypeAny, {
  type: "data";
  data?: any;
}, {
  type?: "data" | undefined;
  data?: any;
}>, z.ZodObject<{
  type: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"error">>>;
  error: z.ZodType<JsonError, z.ZodTypeDef, JsonError>;
}, "strict", z.ZodTypeAny, {
  error: {
    error?: string | undefined;
    name?: string | undefined;
    message?: string | undefined;
    stack?: string | undefined;
  } & {
    name: string;
    message: string;
    cause?: unknown;
  };
  type: "error";
}, {
  error: {
    error?: string | undefined;
    name?: string | undefined;
    message?: string | undefined;
    stack?: string | undefined;
  } & {
    name: string;
    message: string;
    cause?: unknown;
  };
  type?: "error" | undefined;
}>]>, z.ZodObject<{
  type: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"input">>>;
  input: z.ZodEffects<z.ZodAny, any, any>;
}, "strict", z.ZodTypeAny, {
  type: "input";
  input?: any;
}, {
  type?: "input" | undefined;
  input?: any;
}>]>, z.ZodEffects<z.ZodAny, {
  type: "data";
  data: any;
}, any>]>>>;
type StepsResponse = z.infer<typeof stepSchema>;
declare const batchSchema: z.ZodArray<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, EventPayload<any>, Record<string, any>>, "many">;
type BatchResponse = z.infer<typeof batchSchema>;
//#endregion
export { BatchResponse, ErrorResponse, StepsResponse };
//# sourceMappingURL=schema.d.cts.map