export interface Product { name: string; brand: string; color: string; material: string; category: string; price_text: string; price_nok: number; original_price_nok: number; currency: string; on_sale: boolean; image_url: string; image_urls: string[]; url: string; store: string; score: number; in_stock: boolean; sizes: string[]; external_id: string; canonical_category: string; scandi_score: number | null; } export interface PaletteSwatch { source: string; lab: number[]; hex: string; name: string; } export interface OutfitComplement { bucket: string; product: Product; rationale: string; color_name: string; color_score: number; axes_added: string[]; } export interface Outfit { anchor: Product; anchor_bucket: string; anchor_color_name: string; complements: OutfitComplement[]; total_nok: number; palette: PaletteSwatch[]; axes_covered: string[]; axes_contrasted: string[]; scandi_score: number; } export interface ProductsResponse { items: Product[]; total: number; page: number; page_size: number; } export interface StoreInfo { name: string; count: number; top: number; avg: number; } export interface Rating { filename: string; rating: number; image_url: string; } export interface RatingsResponse { ratings: Rating[]; total: number; liked: number; disliked: number; } export interface StoreStats { count: number; top: number; avg: number; } export interface TasteStats { total: number; liked: number; disliked: number; } export interface Stats { total_products: number; stores: Record; taste: TasteStats; } export interface ScanStatus { running: boolean; step: string; progress: number; error: string | null; } export interface DiscoverStats { total: number; likes: number; dislikes: number; skips: number; }