import * as z from "zod";
import * as operations from "../operations/index.js";
import { CloudinaryAssetMgmtError } from "./cloudinaryassetmgmterror.js";
/**
 * Version not found
 */
export type NotFoundErrorData = {
    error?: operations.NotFoundError | undefined;
};
/**
 * Version not found
 */
export declare class NotFoundError extends CloudinaryAssetMgmtError {
    error?: operations.NotFoundError | undefined;
    /** The original data that was passed to this error instance. */
    data$: NotFoundErrorData;
    constructor(err: NotFoundErrorData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/**
 * Authentication failed
 */
export type DownloadBackupAssetUnauthorizedErrorData = {
    error?: operations.DownloadBackupAssetUnauthorizedError | undefined;
};
/**
 * Authentication failed
 */
export declare class DownloadBackupAssetUnauthorizedError extends CloudinaryAssetMgmtError {
    error?: operations.DownloadBackupAssetUnauthorizedError | undefined;
    /** The original data that was passed to this error instance. */
    data$: DownloadBackupAssetUnauthorizedErrorData;
    constructor(err: DownloadBackupAssetUnauthorizedErrorData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/**
 * Bad request
 */
export type BadRequestErrorData = {
    error?: operations.BadRequestError | undefined;
};
/**
 * Bad request
 */
export declare class BadRequestError extends CloudinaryAssetMgmtError {
    error?: operations.BadRequestError | undefined;
    /** The original data that was passed to this error instance. */
    data$: BadRequestErrorData;
    constructor(err: BadRequestErrorData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/** @internal */
export declare const NotFoundError$inboundSchema: z.ZodType<NotFoundError, z.ZodTypeDef, unknown>;
/** @internal */
export type NotFoundError$Outbound = {
    error?: operations.NotFoundError$Outbound | undefined;
};
/** @internal */
export declare const NotFoundError$outboundSchema: z.ZodType<NotFoundError$Outbound, z.ZodTypeDef, NotFoundError>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace NotFoundError$ {
    /** @deprecated use `NotFoundError$inboundSchema` instead. */
    const inboundSchema: z.ZodType<NotFoundError, z.ZodTypeDef, unknown>;
    /** @deprecated use `NotFoundError$outboundSchema` instead. */
    const outboundSchema: z.ZodType<NotFoundError$Outbound, z.ZodTypeDef, NotFoundError>;
    /** @deprecated use `NotFoundError$Outbound` instead. */
    type Outbound = NotFoundError$Outbound;
}
/** @internal */
export declare const DownloadBackupAssetUnauthorizedError$inboundSchema: z.ZodType<DownloadBackupAssetUnauthorizedError, z.ZodTypeDef, unknown>;
/** @internal */
export type DownloadBackupAssetUnauthorizedError$Outbound = {
    error?: operations.DownloadBackupAssetUnauthorizedError$Outbound | undefined;
};
/** @internal */
export declare const DownloadBackupAssetUnauthorizedError$outboundSchema: z.ZodType<DownloadBackupAssetUnauthorizedError$Outbound, z.ZodTypeDef, DownloadBackupAssetUnauthorizedError>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DownloadBackupAssetUnauthorizedError$ {
    /** @deprecated use `DownloadBackupAssetUnauthorizedError$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DownloadBackupAssetUnauthorizedError, z.ZodTypeDef, unknown>;
    /** @deprecated use `DownloadBackupAssetUnauthorizedError$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DownloadBackupAssetUnauthorizedError$Outbound, z.ZodTypeDef, DownloadBackupAssetUnauthorizedError>;
    /** @deprecated use `DownloadBackupAssetUnauthorizedError$Outbound` instead. */
    type Outbound = DownloadBackupAssetUnauthorizedError$Outbound;
}
/** @internal */
export declare const BadRequestError$inboundSchema: z.ZodType<BadRequestError, z.ZodTypeDef, unknown>;
/** @internal */
export type BadRequestError$Outbound = {
    error?: operations.BadRequestError$Outbound | undefined;
};
/** @internal */
export declare const BadRequestError$outboundSchema: z.ZodType<BadRequestError$Outbound, z.ZodTypeDef, BadRequestError>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BadRequestError$ {
    /** @deprecated use `BadRequestError$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BadRequestError, z.ZodTypeDef, unknown>;
    /** @deprecated use `BadRequestError$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BadRequestError$Outbound, z.ZodTypeDef, BadRequestError>;
    /** @deprecated use `BadRequestError$Outbound` instead. */
    type Outbound = BadRequestError$Outbound;
}
//# sourceMappingURL=downloadbackupasset.d.ts.map