import { AssetSource } from "sanity"; declare const cloudinaryAssetSchema: { type: "object"; name: "cloudinary.asset"; } & Omit & { preview?: import("sanity").PreviewConfig<{ url: string; resource_type: string; derived: string; }, Record<"derived" | "resource_type" | "url", any>> | undefined; }; interface CloudinaryAssetContext { custom: object; } declare const cloudinaryAssetContext: { type: "object"; name: "cloudinary.assetContext"; } & Omit & { preview?: import("sanity").PreviewConfig, Record> | undefined; }; type CloudinaryAssetContextCustom = { alt: string; caption: string; }; declare const cloudinaryAssetContextCustom: { type: "object"; name: "cloudinary.assetContextCustom"; } & Omit & { preview?: import("sanity").PreviewConfig, Record> | undefined; }; type CloudinaryAssetDerived = { raw_transformation: string; url: string; secure_url: string; }; declare const cloudinaryAssetDerivedSchema: { type: "object"; name: "cloudinary.assetDerived"; } & Omit & { preview?: import("sanity").PreviewConfig, Record> | undefined; }; interface CloudinaryMediaLibrary { show: (config?: { asset: any; folder: any; }) => void; hide: () => void; } type CloudinaryAsset = { _type: string; _key?: string; _version: number; public_id: string; resource_type: string; type: string; format: string; version: number; url: string; secure_url: string; derived?: CloudinaryAssetDerived[]; display_name?: string; }; type AssetDocument = { _id: string; label?: string; title?: string; description?: string; source?: { id: string; name: string; url?: string; }; creditLine?: string; originalFilename?: string; }; declare global { interface Window { cloudinary: { openMediaLibrary: (config: any, callbacks: any) => void; createMediaLibrary: (config: any, callbacks?: any) => CloudinaryMediaLibrary; }; } } declare const cloudinarySchemaPlugin: import("sanity").Plugin; declare const cloudinaryImageSource: AssetSource; declare const cloudinaryAssetSourcePlugin: import("sanity").Plugin; export { type AssetDocument, type CloudinaryAsset, type CloudinaryAssetContext, type CloudinaryAssetContextCustom, type CloudinaryAssetDerived, cloudinaryAssetContext, cloudinaryAssetContextCustom, cloudinaryAssetDerivedSchema, cloudinaryAssetSchema, cloudinaryAssetSourcePlugin, cloudinaryImageSource, cloudinarySchemaPlugin }; //# sourceMappingURL=index.d.ts.map