import ImageFormat from "../../../../constants/image-format.js"; interface IImageFormat { ext: string; url: string; hash: string; mime: string; name: string; path: string | null; size: number; width: number; height: number; } interface IImage { id: number; attributes: { name: string; alternativeText: string | null; caption: string | null; width: number; height: number; formats: { [name in ImageFormat]: IImageFormat; }; hash: string; ext: string; mime: string; size: number; url: string; previewUrl: string | null; provider: string; createdAt: string; updatedAt: string; hls?: string; provider_metadata?: { text?: string; }; }; } export type { IImageFormat, IImage };