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