import * as z from "zod";
import * as components from "../components/index.js";
import { CloudinaryAnalysisError } from "./cloudinaryanalysiserror.js";
/**
 * Bad request
 */
export type ErrorResponseData = {
    error?: components.ErrorObject | null | undefined;
};
/**
 * Bad request
 */
export declare class ErrorResponse extends CloudinaryAnalysisError {
    error?: components.ErrorObject | null | undefined;
    /** The original data that was passed to this error instance. */
    data$: ErrorResponseData;
    constructor(err: ErrorResponseData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/** @internal */
export declare const ErrorResponse$inboundSchema: z.ZodType<ErrorResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type ErrorResponse$Outbound = {
    error?: components.ErrorObject$Outbound | null | undefined;
};
/** @internal */
export declare const ErrorResponse$outboundSchema: z.ZodType<ErrorResponse$Outbound, z.ZodTypeDef, ErrorResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ErrorResponse$ {
    /** @deprecated use `ErrorResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ErrorResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `ErrorResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ErrorResponse$Outbound, z.ZodTypeDef, ErrorResponse>;
    /** @deprecated use `ErrorResponse$Outbound` instead. */
    type Outbound = ErrorResponse$Outbound;
}
//# sourceMappingURL=errorresponse.d.ts.map