import * as z from "zod/v3"; import * as components from "../components/index.js"; import { Gr4vyError } from "./gr4vyerror.js"; export type Error401Data = { /** * Always `error`. */ type?: "error" | undefined; /** * Always `unauthorized` */ code?: string | undefined; /** * Always `401`. */ status?: number | undefined; /** * A human readable message that provides more context to the error. */ message?: string | undefined; /** * A list of details that further ellaborate on the error. */ details?: Array | undefined; }; export declare class Error401 extends Gr4vyError { /** * Always `error`. */ type?: "error" | undefined; /** * Always `unauthorized` */ code?: string | undefined; /** * Always `401`. */ status?: number | undefined; /** * A list of details that further ellaborate on the error. */ details?: Array | 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; //# sourceMappingURL=error401.d.ts.map