import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type UpdateResourceByPublicIdGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
/**
 * The delivery type of the asset.
 */
export declare const UpdateResourceByPublicIdType: {
    readonly Upload: "upload";
    readonly Private: "private";
    readonly Authenticated: "authenticated";
    readonly Facebook: "facebook";
    readonly Twitter: "twitter";
    readonly Gravatar: "gravatar";
    readonly Youtube: "youtube";
    readonly Hulu: "hulu";
    readonly Vimeo: "vimeo";
    readonly Animoto: "animoto";
    readonly Worldstarhiphop: "worldstarhiphop";
    readonly Dailymotion: "dailymotion";
};
/**
 * The delivery type of the asset.
 */
export type UpdateResourceByPublicIdType = ClosedEnum<typeof UpdateResourceByPublicIdType>;
export type UpdateResourceByPublicIdRequest = {
    /**
     * The type the of asset.
     */
    resourceType: components.ResourceTypeParameter;
    /**
     * The delivery type of the asset.
     */
    type: UpdateResourceByPublicIdType;
    /**
     * The public ID of the asset to update.
     */
    publicId: string;
    resourceUpdateRequest: components.ResourceUpdateRequest;
};
/** @internal */
export declare const UpdateResourceByPublicIdGlobals$inboundSchema: z.ZodType<UpdateResourceByPublicIdGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateResourceByPublicIdGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const UpdateResourceByPublicIdGlobals$outboundSchema: z.ZodType<UpdateResourceByPublicIdGlobals$Outbound, z.ZodTypeDef, UpdateResourceByPublicIdGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateResourceByPublicIdGlobals$ {
    /** @deprecated use `UpdateResourceByPublicIdGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateResourceByPublicIdGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateResourceByPublicIdGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateResourceByPublicIdGlobals$Outbound, z.ZodTypeDef, UpdateResourceByPublicIdGlobals>;
    /** @deprecated use `UpdateResourceByPublicIdGlobals$Outbound` instead. */
    type Outbound = UpdateResourceByPublicIdGlobals$Outbound;
}
export declare function updateResourceByPublicIdGlobalsToJSON(updateResourceByPublicIdGlobals: UpdateResourceByPublicIdGlobals): string;
export declare function updateResourceByPublicIdGlobalsFromJSON(jsonString: string): SafeParseResult<UpdateResourceByPublicIdGlobals, SDKValidationError>;
/** @internal */
export declare const UpdateResourceByPublicIdType$inboundSchema: z.ZodNativeEnum<typeof UpdateResourceByPublicIdType>;
/** @internal */
export declare const UpdateResourceByPublicIdType$outboundSchema: z.ZodNativeEnum<typeof UpdateResourceByPublicIdType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateResourceByPublicIdType$ {
    /** @deprecated use `UpdateResourceByPublicIdType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Upload: "upload";
        readonly Private: "private";
        readonly Authenticated: "authenticated";
        readonly Facebook: "facebook";
        readonly Twitter: "twitter";
        readonly Gravatar: "gravatar";
        readonly Youtube: "youtube";
        readonly Hulu: "hulu";
        readonly Vimeo: "vimeo";
        readonly Animoto: "animoto";
        readonly Worldstarhiphop: "worldstarhiphop";
        readonly Dailymotion: "dailymotion";
    }>;
    /** @deprecated use `UpdateResourceByPublicIdType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Upload: "upload";
        readonly Private: "private";
        readonly Authenticated: "authenticated";
        readonly Facebook: "facebook";
        readonly Twitter: "twitter";
        readonly Gravatar: "gravatar";
        readonly Youtube: "youtube";
        readonly Hulu: "hulu";
        readonly Vimeo: "vimeo";
        readonly Animoto: "animoto";
        readonly Worldstarhiphop: "worldstarhiphop";
        readonly Dailymotion: "dailymotion";
    }>;
}
/** @internal */
export declare const UpdateResourceByPublicIdRequest$inboundSchema: z.ZodType<UpdateResourceByPublicIdRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateResourceByPublicIdRequest$Outbound = {
    resource_type: string;
    type: string;
    public_id: string;
    ResourceUpdateRequest: components.ResourceUpdateRequest$Outbound;
};
/** @internal */
export declare const UpdateResourceByPublicIdRequest$outboundSchema: z.ZodType<UpdateResourceByPublicIdRequest$Outbound, z.ZodTypeDef, UpdateResourceByPublicIdRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateResourceByPublicIdRequest$ {
    /** @deprecated use `UpdateResourceByPublicIdRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateResourceByPublicIdRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateResourceByPublicIdRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateResourceByPublicIdRequest$Outbound, z.ZodTypeDef, UpdateResourceByPublicIdRequest>;
    /** @deprecated use `UpdateResourceByPublicIdRequest$Outbound` instead. */
    type Outbound = UpdateResourceByPublicIdRequest$Outbound;
}
export declare function updateResourceByPublicIdRequestToJSON(updateResourceByPublicIdRequest: UpdateResourceByPublicIdRequest): string;
export declare function updateResourceByPublicIdRequestFromJSON(jsonString: string): SafeParseResult<UpdateResourceByPublicIdRequest, SDKValidationError>;
//# sourceMappingURL=updateresourcebypublicid.d.ts.map