export type ImageFiles = { width: number; height: number; original: string; heic: string; heic_low_res: string; webp: string; webp_low_res: string; }; export type ImageInfo = { light: ImageFiles; dark?: ImageFiles | null; }; export type VideoFiles = { width: number; height: number; url: string; url_low_res: string; checksum?: { algo: string; value: string; } | null; checksum_low_res?: { algo: string; value: string; } | null; }; export type VideoInfo = { light: VideoFiles; dark?: VideoFiles | null; }; export type FitMode = "fit" | "fill";