import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type DownloadBackupAssetGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
export type DownloadBackupAssetRequest = {
    /**
     * The asset ID of the backup to download. Must be a 32-character hexadecimal string.
     */
    assetId: string;
    /**
     * The version ID of the backup to download. Must be a 32-character hexadecimal string.
     */
    versionId: string;
    /**
     * The API key for authentication.
     */
    apiKey: string;
    /**
     * The request signature.
     */
    signature: string;
    /**
     * The request timestamp.
     */
    timestamp: number;
};
export type NotFoundError = {
    /**
     * Specified version does not exist
     */
    message?: string | undefined;
};
export type DownloadBackupAssetUnauthorizedError = {
    /**
     * Invalid Signature or timestamp expired.
     */
    message?: string | undefined;
    /**
     * The HTTP status code.
     */
    httpCode?: number | undefined;
};
export type BadRequestError = {
    /**
     * A problem with one of the parameters or timestamp.
     */
    message?: string | undefined;
    /**
     * The HTTP status code.
     */
    httpCode?: number | undefined;
};
export type DownloadBackupAssetResponse = ReadableStream<Uint8Array> | ReadableStream<Uint8Array> | ReadableStream<Uint8Array> | ReadableStream<Uint8Array>;
/** @internal */
export declare const DownloadBackupAssetGlobals$inboundSchema: z.ZodType<DownloadBackupAssetGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type DownloadBackupAssetGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const DownloadBackupAssetGlobals$outboundSchema: z.ZodType<DownloadBackupAssetGlobals$Outbound, z.ZodTypeDef, DownloadBackupAssetGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DownloadBackupAssetGlobals$ {
    /** @deprecated use `DownloadBackupAssetGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DownloadBackupAssetGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `DownloadBackupAssetGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DownloadBackupAssetGlobals$Outbound, z.ZodTypeDef, DownloadBackupAssetGlobals>;
    /** @deprecated use `DownloadBackupAssetGlobals$Outbound` instead. */
    type Outbound = DownloadBackupAssetGlobals$Outbound;
}
export declare function downloadBackupAssetGlobalsToJSON(downloadBackupAssetGlobals: DownloadBackupAssetGlobals): string;
export declare function downloadBackupAssetGlobalsFromJSON(jsonString: string): SafeParseResult<DownloadBackupAssetGlobals, SDKValidationError>;
/** @internal */
export declare const DownloadBackupAssetRequest$inboundSchema: z.ZodType<DownloadBackupAssetRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type DownloadBackupAssetRequest$Outbound = {
    asset_id: string;
    version_id: string;
    api_key: string;
    signature: string;
    timestamp: number;
};
/** @internal */
export declare const DownloadBackupAssetRequest$outboundSchema: z.ZodType<DownloadBackupAssetRequest$Outbound, z.ZodTypeDef, DownloadBackupAssetRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DownloadBackupAssetRequest$ {
    /** @deprecated use `DownloadBackupAssetRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DownloadBackupAssetRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `DownloadBackupAssetRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DownloadBackupAssetRequest$Outbound, z.ZodTypeDef, DownloadBackupAssetRequest>;
    /** @deprecated use `DownloadBackupAssetRequest$Outbound` instead. */
    type Outbound = DownloadBackupAssetRequest$Outbound;
}
export declare function downloadBackupAssetRequestToJSON(downloadBackupAssetRequest: DownloadBackupAssetRequest): string;
export declare function downloadBackupAssetRequestFromJSON(jsonString: string): SafeParseResult<DownloadBackupAssetRequest, SDKValidationError>;
/** @internal */
export declare const NotFoundError$inboundSchema: z.ZodType<NotFoundError, z.ZodTypeDef, unknown>;
/** @internal */
export type NotFoundError$Outbound = {
    message?: string | 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;
}
export declare function notFoundErrorToJSON(notFoundError: NotFoundError): string;
export declare function notFoundErrorFromJSON(jsonString: string): SafeParseResult<NotFoundError, SDKValidationError>;
/** @internal */
export declare const DownloadBackupAssetUnauthorizedError$inboundSchema: z.ZodType<DownloadBackupAssetUnauthorizedError, z.ZodTypeDef, unknown>;
/** @internal */
export type DownloadBackupAssetUnauthorizedError$Outbound = {
    message?: string | undefined;
    http_code?: number | 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;
}
export declare function downloadBackupAssetUnauthorizedErrorToJSON(downloadBackupAssetUnauthorizedError: DownloadBackupAssetUnauthorizedError): string;
export declare function downloadBackupAssetUnauthorizedErrorFromJSON(jsonString: string): SafeParseResult<DownloadBackupAssetUnauthorizedError, SDKValidationError>;
/** @internal */
export declare const BadRequestError$inboundSchema: z.ZodType<BadRequestError, z.ZodTypeDef, unknown>;
/** @internal */
export type BadRequestError$Outbound = {
    message?: string | undefined;
    http_code?: number | 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;
}
export declare function badRequestErrorToJSON(badRequestError: BadRequestError): string;
export declare function badRequestErrorFromJSON(jsonString: string): SafeParseResult<BadRequestError, SDKValidationError>;
/** @internal */
export declare const DownloadBackupAssetResponse$inboundSchema: z.ZodType<DownloadBackupAssetResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type DownloadBackupAssetResponse$Outbound = ReadableStream<Uint8Array> | ReadableStream<Uint8Array> | ReadableStream<Uint8Array> | ReadableStream<Uint8Array>;
/** @internal */
export declare const DownloadBackupAssetResponse$outboundSchema: z.ZodType<DownloadBackupAssetResponse$Outbound, z.ZodTypeDef, DownloadBackupAssetResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DownloadBackupAssetResponse$ {
    /** @deprecated use `DownloadBackupAssetResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DownloadBackupAssetResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `DownloadBackupAssetResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DownloadBackupAssetResponse$Outbound, z.ZodTypeDef, DownloadBackupAssetResponse>;
    /** @deprecated use `DownloadBackupAssetResponse$Outbound` instead. */
    type Outbound = DownloadBackupAssetResponse$Outbound;
}
export declare function downloadBackupAssetResponseToJSON(downloadBackupAssetResponse: DownloadBackupAssetResponse): string;
export declare function downloadBackupAssetResponseFromJSON(jsonString: string): SafeParseResult<DownloadBackupAssetResponse, SDKValidationError>;
//# sourceMappingURL=downloadbackupasset.d.ts.map