import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; import { AccessControlItem } from "./accesscontrolitem.js"; import { ResponsiveBreakpoint } from "./responsivebreakpoint.js"; import { StructuredMetadataParam } from "./structuredmetadataparam.js"; import { UploadDeliveryType } from "./uploaddeliverytype.js"; /** * 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 UploadPresetParsedSettingsAccessMode: { 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 UploadPresetParsedSettingsAccessMode = ClosedEnum; export declare const UploadPresetParsedSettingsAccessMode$zodSchema: z.ZodEnum<{ authenticated: "authenticated"; public: "public"; }>; /** * Configuration object for automatic video transcription with translation options. */ export type UploadPresetParsedSettingsAutoTranscription = { translate?: Array | undefined; }; export declare const UploadPresetParsedSettingsAutoTranscription$zodSchema: z.ZodType; export type UploadPresetParsedSettingsAutoTranscriptionUnion = boolean | UploadPresetParsedSettingsAutoTranscription; export declare const UploadPresetParsedSettingsAutoTranscriptionUnion$zodSchema: z.ZodType; /** * 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 UploadPresetParsedSettingsRegions = string | { [k: string]: Array>; }; export declare const UploadPresetParsedSettingsRegions$zodSchema: z.ZodType; /** * Settings to automatically generate breakpoints for responsive images. */ export type UploadPresetParsedSettingsResponsiveBreakpoints = Array | ResponsiveBreakpoint; export declare const UploadPresetParsedSettingsResponsiveBreakpoints$zodSchema: z.ZodType; /** * Parsed preset configuration settings. Composed from base parameters (stable types) plus parsed serializable fields (arrays/objects instead of strings). */ export type UploadPresetParsedSettings = { accessibility_analysis?: boolean | undefined; asset_folder?: string | undefined; async?: boolean | undefined; auto_chaptering?: boolean | undefined; auto_tagging?: number | undefined; auto_transcription?: boolean | UploadPresetParsedSettingsAutoTranscription | undefined; access_control?: Array | undefined; access_mode?: UploadPresetParsedSettingsAccessMode | 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 | undefined; 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?: Array | null | undefined; context?: { [k: string]: string; } | null | undefined; eager?: Array> | undefined; transformation?: Array<{ [k: string]: any; }> | undefined; allowed_formats?: Array | undefined; headers?: { [k: string]: string; } | undefined; face_coordinates?: Array> | undefined; custom_coordinates?: Array> | undefined; type?: UploadDeliveryType | undefined; }; export declare const UploadPresetParsedSettings$zodSchema: z.ZodType; //# sourceMappingURL=uploadpresetparsedsettings.d.ts.map