import * as z from "zod"; import { ProveapiError } from "./proveapierror.js"; export type ErrorTData = { /** * Code is an internal error code that describes the problem category of the request. */ code?: number | undefined; /** * Message is an error message describing the problem with the request. */ message: string; }; export declare class ErrorT extends ProveapiError { /** * Code is an internal error code that describes the problem category of the request. */ code?: number | undefined; /** The original data that was passed to this error instance. */ data$: ErrorTData; constructor(err: ErrorTData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const ErrorT$inboundSchema: z.ZodType; /** @internal */ export type ErrorT$Outbound = { code?: number | undefined; message: string; }; /** @internal */ export declare const ErrorT$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 ErrorT$ { /** @deprecated use `ErrorT$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ErrorT$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ErrorT$Outbound` instead. */ type Outbound = ErrorT$Outbound; } //# sourceMappingURL=error.d.ts.map