// Copyright © 2022-2026 Partium, Inc. DBA Partium import { BACKEND_SERVICE } from '../../core'; export interface ImageFromPartiumAPI { partiumId: string; description: string; expireAt?: string | null; urls: { [size: string]: string | null; }; type?: string; } export interface ImageFromDataAPI { uuid: string; name: string; description: string; expireAt?: string | null; urls: { [size: string]: string | null; }; type?: string; } export interface Image { assetId: string; origin: BACKEND_SERVICE; /** * @deprecated this information are now included on downloadUrls object * the names of the sizes this image is available in eg: "original", "thumbnail", "medium" * the available sizes and size-names can be defined by data and can different by customer */ availableSizes: string[]; downloadUrls: { [key: string]: string; }; expireAt?: string | null; name?: string; } export declare function fromDataAPIResponse(imageData: ImageFromDataAPI, origin?: BACKEND_SERVICE): Image; export declare function fromPartiumAPIResponse(imageData: ImageFromPartiumAPI, origin?: BACKEND_SERVICE): Image;