import { Action } from '@evlop/commons'; import type { MoneyV2, ShopifyMetafields } from '../types'; import ShopifyImage from './ShopifyImage'; export interface VariantSelectedOption { name: string; value: string; } export interface VariantActions { addToCart: Action; addToWishlist: Action; openDetailsPage: Action | null; } export interface ShopifyProductVariant { id?: string; gid?: string; title?: string; price?: MoneyV2; compareAtPrice?: MoneyV2; comparePriceDifference?: MoneyV2; selectedOptions?: VariantSelectedOption[]; availableForSale?: boolean; requiresShipping?: boolean; sku?: string; weight?: number; weightUnit?: string; image?: ShopifyImage | null; discountPrice?: MoneyV2; discountPercentage?: number; product?: any; metafields?: ShopifyMetafields; actions?: VariantActions; } export default ShopifyProductVariant; //# sourceMappingURL=ShopifyProductVariant.d.ts.map