import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; import { AccessControlItem } from "./accesscontrolitem.js"; import { ExplicitDeliveryType } from "./explicitdeliverytype.js"; import { ResponsiveBreakpoint } from "./responsivebreakpoint.js"; import { StructuredMetadataParam } from "./structuredmetadataparam.js"; import { TagsParam } from "./tagsparam.js"; /** * Configuration object for automatic video transcription with translation options. */ export type ExplicitRequestAutoTranscription = { translate?: Array | undefined; }; export declare const ExplicitRequestAutoTranscription$zodSchema: z.ZodType; export type ExplicitRequestAutoTranscriptionUnion = boolean | ExplicitRequestAutoTranscription; export declare const ExplicitRequestAutoTranscriptionUnion$zodSchema: z.ZodType; /** * Deprecated. Use access_control instead. Allows the asset to behave as if it's of the authenticated delivery type while still using the default 'upload' type in delivery URLs. The asset can later be made public by changing its access_mode via the Admin API, without having to update any delivery URLs. * * @remarks * * @deprecated enum: The access_mode parameter is no longer supported. To restrict access to assets, you can use the access_control parameter.. Use access_control instead. */ export declare const ExplicitRequestAccessMode: { readonly Public: "public"; readonly Authenticated: "authenticated"; }; /** * Deprecated. Use access_control instead. Allows the asset to behave as if it's of the authenticated delivery type while still using the default 'upload' type in delivery URLs. The asset can later be made public by changing its access_mode via the Admin API, without having to update any delivery URLs. * * @remarks * * @deprecated enum: The access_mode parameter is no longer supported. To restrict access to assets, you can use the access_control parameter.. Use access_control instead. */ export type ExplicitRequestAccessMode = ClosedEnum; export declare const ExplicitRequestAccessMode$zodSchema: z.ZodEnum<{ authenticated: "authenticated"; public: "public"; }>; /** * Named region coordinate groups for cropping with region gravity. * * @remarks * Can be a JSON-encoded string or an object. Each region name may contain * only letters, numbers, or hyphens, and must have at least two coordinate pairs. */ export type ExplicitRequestRegions = string | { [k: string]: Array>; }; export declare const ExplicitRequestRegions$zodSchema: z.ZodType; /** * Settings to automatically generate breakpoints for responsive images. */ export type ExplicitRequestResponsiveBreakpoints = Array | ResponsiveBreakpoint; export declare const ExplicitRequestResponsiveBreakpoints$zodSchema: z.ZodType; /** * Override the quality setting for this asset. */ export type QualityOverride = string | number; export declare const QualityOverride$zodSchema: z.ZodType; /** * Common parameters for configuring an asset, including transformation, tagging, metadata, and moderation options. */ export type ExplicitRequest = { accessibility_analysis?: boolean | undefined; asset_folder?: string | undefined; async?: boolean | undefined; auto_chaptering?: boolean | undefined; auto_tagging?: number | undefined; auto_transcription?: boolean | ExplicitRequestAutoTranscription | undefined; access_control?: Array | undefined; access_mode?: ExplicitRequestAccessMode | undefined; backup?: boolean | undefined; background_removal?: string | undefined; callback?: string | undefined; categorization?: string | undefined; cinemagraph_analysis?: boolean | undefined; colors?: boolean | undefined; detection?: string | undefined; discard_original_filename?: boolean | undefined; display_name?: string | undefined; eager_async?: boolean | undefined; eager_notification_url?: string | undefined; eval?: string | undefined; faces?: boolean | undefined; filename_override?: string | undefined; folder?: string | undefined; format?: string | undefined; invalidate?: boolean | undefined; media_metadata?: boolean | undefined; metadata?: StructuredMetadataParam | undefined; clear_invalid?: boolean | undefined; moderation?: string | undefined; notification_url?: string | undefined; ocr?: string | undefined; on_success?: string | undefined; overwrite?: boolean | undefined; phash?: boolean | undefined; proxy?: string | undefined; public_id: string; public_id_prefix?: string | undefined; quality_analysis?: boolean | undefined; raw_convert?: string | undefined; regions?: string | { [k: string]: Array>; } | undefined; responsive_breakpoints?: Array | ResponsiveBreakpoint | undefined; return_delete_token?: boolean | undefined; upload_preset?: string | undefined; use_asset_folder_as_public_id_prefix?: boolean | undefined; use_filename?: boolean | undefined; use_filename_as_display_name?: boolean | undefined; unique_display_name?: boolean | undefined; unique_filename?: boolean | undefined; visual_search?: boolean | undefined; tags?: TagsParam | undefined; context?: string | undefined; eager?: string | undefined; transformation?: string | undefined; allowed_formats?: string | undefined; headers?: string | undefined; face_coordinates?: string | undefined; custom_coordinates?: string | undefined; type?: ExplicitDeliveryType | undefined; quality_override?: string | number | undefined; }; export declare const ExplicitRequest$zodSchema: z.ZodType; //# sourceMappingURL=explicitrequest.d.ts.map