import * as z from "zod/v4"; import * as models from "../index.js"; import { OpenRouterError } from "./openroutererror.js"; /** * RFC 6749 §5.2 error response. */ export type OAuthErrorResponseData = { error: models.ErrorEnum; errorDescription: string; }; /** * RFC 6749 §5.2 error response. */ export declare class OAuthErrorResponse extends OpenRouterError { error: models.ErrorEnum; errorDescription: string; /** The original data that was passed to this error instance. */ data$: OAuthErrorResponseData; constructor(err: OAuthErrorResponseData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const OAuthErrorResponse$inboundSchema: z.ZodType; //# sourceMappingURL=oautherrorresponse.d.ts.map