import type * as Whop from "../index.js"; export interface AdCreative { /** The saved crop window for this creative, in source image pixels. Null for the original asset or a format that has not been cropped. */ crop: Whop.AdCreativeCrop | null; /** The placement variant this asset covers, or null for the original asset. */ format: AdCreative.Format | null; /** The creative attachment's file id. */ id: string; /** ISO 639 code of the language this image or video is shown for, such as `es`. On an ad with translations, the ad's own creative carries `translations.source_language`. It's `null` on an ad without translations. */ language: string | null; /** The kind of asset, image or video. */ media_type: string | null; /** CDN url of the asset. */ url: string | null; } export declare namespace AdCreative { /** The placement variant this asset covers, or null for the original asset. */ const Format: { readonly Square: "square"; readonly Vertical: "vertical"; readonly Horizontal: "horizontal"; }; type Format = (typeof Format)[keyof typeof Format]; }