import * as z from "zod"; import * as models from "../index.js"; import { SupertoneError } from "./supertoneerror.js"; export type UnauthorizedErrorResponseData = { /** * Response status */ status: string; /** * Unauthorized error details */ message: models.UnauthorizedErrorResponseMessage; }; export declare class UnauthorizedErrorResponse extends SupertoneError { /** * Response status */ status: string; /** The original data that was passed to this error instance. */ data$: UnauthorizedErrorResponseData; constructor(err: UnauthorizedErrorResponseData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const UnauthorizedErrorResponse$inboundSchema: z.ZodType; /** @internal */ export type UnauthorizedErrorResponse$Outbound = { status: string; message: models.UnauthorizedErrorResponseMessage$Outbound; }; /** @internal */ export declare const UnauthorizedErrorResponse$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 UnauthorizedErrorResponse$ { /** @deprecated use `UnauthorizedErrorResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UnauthorizedErrorResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UnauthorizedErrorResponse$Outbound` instead. */ type Outbound = UnauthorizedErrorResponse$Outbound; } //# sourceMappingURL=unauthorizederrorresponse.d.ts.map