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