import * as z from "zod";
import { IamClientError } from "./iamclienterror.js";
export type OAuthErrorResponseData = {
    error?: string | null | undefined;
    errorDescription?: string | null | undefined;
};
export declare class OAuthErrorResponse extends IamClientError {
    error?: string | null | undefined;
    errorDescription?: string | null | undefined;
    /** 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<OAuthErrorResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type OAuthErrorResponse$Outbound = {
    error?: string | null | undefined;
    error_description?: string | null | undefined;
};
/** @internal */
export declare const OAuthErrorResponse$outboundSchema: z.ZodType<OAuthErrorResponse$Outbound, z.ZodTypeDef, OAuthErrorResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace OAuthErrorResponse$ {
    /** @deprecated use `OAuthErrorResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<OAuthErrorResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `OAuthErrorResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<OAuthErrorResponse$Outbound, z.ZodTypeDef, OAuthErrorResponse>;
    /** @deprecated use `OAuthErrorResponse$Outbound` instead. */
    type Outbound = OAuthErrorResponse$Outbound;
}
//# sourceMappingURL=oautherrorresponse.d.ts.map