import * as z from "zod"; import * as components from "../components/index.js"; /** * Server Error. All requests returned a 500 error. * * @remarks */ export type BatchServerErrorData = { batchDecisionId?: string | undefined; responses?: { [k: string]: components.ServerError; } | undefined; }; /** * Server Error. All requests returned a 500 error. * * @remarks */ export declare class BatchServerError extends Error { batchDecisionId?: string | undefined; responses?: { [k: string]: components.ServerError; } | undefined; /** The original data that was passed to this error instance. */ data$: BatchServerErrorData; constructor(err: BatchServerErrorData); } /** @internal */ export declare const BatchServerError$inboundSchema: z.ZodType; /** @internal */ export type BatchServerError$Outbound = { batch_decision_id?: string | undefined; responses?: { [k: string]: components.ServerError$Outbound; } | undefined; }; /** @internal */ export declare const BatchServerError$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace BatchServerError$ { /** @deprecated use `BatchServerError$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BatchServerError$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BatchServerError$Outbound` instead. */ type Outbound = BatchServerError$Outbound; } //# sourceMappingURL=batchservererror.d.ts.map