import * as z from "zod/v3"; import * as components from "../components/index.js"; import { Gr4vyError } from "./gr4vyerror.js"; export type Error502Data = { /** * Always `error`. */ type?: "error" | undefined; /** * Always `bad_gateway` */ code?: string | undefined; /** * Always `502`. */ 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 Error502 extends Gr4vyError { /** * Always `error`. */ type?: "error" | undefined; /** * Always `bad_gateway` */ code?: string | undefined; /** * Always `502`. */ 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$: Error502Data; constructor(err: Error502Data, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const Error502$inboundSchema: z.ZodType; //# sourceMappingURL=error502.d.ts.map