import * as z from "zod"; import * as models from "../index.js"; /** * Internal Server Error */ export type UnionApiErrorServerErrorData = { code?: models.UnionApiErrorServerErrorCode; /** * Error message */ message: string; }; /** * Internal Server Error */ export declare class UnionApiErrorServerError extends Error { code?: models.UnionApiErrorServerErrorCode; /** The original data that was passed to this error instance. */ data$: UnionApiErrorServerErrorData; constructor(err: UnionApiErrorServerErrorData); } /** @internal */ export declare const UnionApiErrorServerError$inboundSchema: z.ZodType; /** @internal */ export type UnionApiErrorServerError$Outbound = { code?: string; message: string; }; /** @internal */ export declare const UnionApiErrorServerError$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 UnionApiErrorServerError$ { /** @deprecated use `UnionApiErrorServerError$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UnionApiErrorServerError$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UnionApiErrorServerError$Outbound` instead. */ type Outbound = UnionApiErrorServerError$Outbound; } //# sourceMappingURL=unionapierrorservererror.d.ts.map