export type FreebieRewardContext = { couponTemplateId?: string; rewardKey?: string; }; export declare const getFreebieRewardKey: (product: any) => string; export declare const getFreebieRewardContext: (product: any) => FreebieRewardContext; /** * Shared utility function for adding freebie products to cart * Used by both FreebieClaimManager and FreebieClaimSection to avoid code duplication */ export declare const addFreebieProductsToCart: (selectedProductIds: string[], freebieProductsInCart: any[], addFreebieToCart?: ((variantId: string, originalAllowedVariantIds?: string[], rewardContext?: FreebieRewardContext) => Promise) | undefined, selectedVariantIds?: Record, onProductAdded?: ((productId: string) => void) | undefined) => Promise;