import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type UpdateUploadPresetGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
export type UpdateUploadPresetRequest = {
    name: string;
    uploadPreset: components.UploadPreset;
};
/**
 * upload preset updated
 */
export type UpdateUploadPresetResponse = {
    message: string;
    externalId: string;
};
/** @internal */
export declare const UpdateUploadPresetGlobals$inboundSchema: z.ZodType<UpdateUploadPresetGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateUploadPresetGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const UpdateUploadPresetGlobals$outboundSchema: z.ZodType<UpdateUploadPresetGlobals$Outbound, z.ZodTypeDef, UpdateUploadPresetGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateUploadPresetGlobals$ {
    /** @deprecated use `UpdateUploadPresetGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateUploadPresetGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateUploadPresetGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateUploadPresetGlobals$Outbound, z.ZodTypeDef, UpdateUploadPresetGlobals>;
    /** @deprecated use `UpdateUploadPresetGlobals$Outbound` instead. */
    type Outbound = UpdateUploadPresetGlobals$Outbound;
}
export declare function updateUploadPresetGlobalsToJSON(updateUploadPresetGlobals: UpdateUploadPresetGlobals): string;
export declare function updateUploadPresetGlobalsFromJSON(jsonString: string): SafeParseResult<UpdateUploadPresetGlobals, SDKValidationError>;
/** @internal */
export declare const UpdateUploadPresetRequest$inboundSchema: z.ZodType<UpdateUploadPresetRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateUploadPresetRequest$Outbound = {
    name: string;
    upload_preset: components.UploadPreset$Outbound;
};
/** @internal */
export declare const UpdateUploadPresetRequest$outboundSchema: z.ZodType<UpdateUploadPresetRequest$Outbound, z.ZodTypeDef, UpdateUploadPresetRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateUploadPresetRequest$ {
    /** @deprecated use `UpdateUploadPresetRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateUploadPresetRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateUploadPresetRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateUploadPresetRequest$Outbound, z.ZodTypeDef, UpdateUploadPresetRequest>;
    /** @deprecated use `UpdateUploadPresetRequest$Outbound` instead. */
    type Outbound = UpdateUploadPresetRequest$Outbound;
}
export declare function updateUploadPresetRequestToJSON(updateUploadPresetRequest: UpdateUploadPresetRequest): string;
export declare function updateUploadPresetRequestFromJSON(jsonString: string): SafeParseResult<UpdateUploadPresetRequest, SDKValidationError>;
/** @internal */
export declare const UpdateUploadPresetResponse$inboundSchema: z.ZodType<UpdateUploadPresetResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateUploadPresetResponse$Outbound = {
    message: string;
    external_id: string;
};
/** @internal */
export declare const UpdateUploadPresetResponse$outboundSchema: z.ZodType<UpdateUploadPresetResponse$Outbound, z.ZodTypeDef, UpdateUploadPresetResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateUploadPresetResponse$ {
    /** @deprecated use `UpdateUploadPresetResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateUploadPresetResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateUploadPresetResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateUploadPresetResponse$Outbound, z.ZodTypeDef, UpdateUploadPresetResponse>;
    /** @deprecated use `UpdateUploadPresetResponse$Outbound` instead. */
    type Outbound = UpdateUploadPresetResponse$Outbound;
}
export declare function updateUploadPresetResponseToJSON(updateUploadPresetResponse: UpdateUploadPresetResponse): string;
export declare function updateUploadPresetResponseFromJSON(jsonString: string): SafeParseResult<UpdateUploadPresetResponse, SDKValidationError>;
//# sourceMappingURL=updateuploadpreset.d.ts.map