import { ModuleType } from "./module-type"; export declare type ShopCurrency = "coin" | "vip"; export interface ShopData { coins: number; totalCoinsEarned?: number; vipCurrency?: number; vipCurrencyEnabled: boolean; totalVipEarned?: number; totalVipCurrencyEarned?: number; } export interface ModuleShopItem { readonly id: string; readonly productId: string; readonly value: number; readonly currency: ShopCurrency; readonly type: string; readonly imageUrl?: string; readonly title: string; readonly description: string; readonly availabilityModuleProgression: Readonly; readonly totalPurchases: number; readonly metadata: string; readonly cooldownFinish?: number; readonly globallyAvailable?: number; } export interface ShopItemAvailability { progression?: { module: ModuleType; value: number; }; userAmountLimit?: number; globalAmountLimit?: number; userCooldown?: number; period?: { from: Date; to: Date; }; userCategoryIds?: string[]; unavailable?: boolean; }