export interface Collection { pagination: { page: number, total: number, total_pages: number }, images: Array, } export interface Image { id: string; blob: { type: string; data: ArrayBuffer }; prompt: string; createdAt: string; error?: string; loading?: boolean; }