import type { EmptyObject } from '@xylabs/sdk-js'; import { GoogleStandardEvent } from './StandardEvent.ts'; export interface GoogleBaseProperties extends Record { lib: 'xyga'; } export interface GoogleAnalyticsItem { affiliation?: string; coupon?: string; currency?: string; discount?: number; item_brand?: string; item_category?: string; item_id: string; item_name: string; item_variant?: string; price?: number; quantity?: number; } export interface GoogleAdwordsItem { google_business_vertical: 'retail'; id: string; } export interface GoogleItem extends GoogleAdwordsItem, GoogleAnalyticsItem { } export interface GoogleValueProperties extends Record { currency?: string; value?: number; } export interface GoogleItemsProperties extends Record { items?: GoogleItem[]; } export interface GoogleAddPaymentInfoProperties extends GoogleValueProperties, GoogleItemsProperties { coupon?: string; payment_type?: string; } export interface GoogleAddShippingInfoProperties extends GoogleValueProperties, GoogleItemsProperties { coupon?: string; shipping_tier?: string; } export interface GoogleCartProperties extends GoogleValueProperties, GoogleItemsProperties { } export type GoogleAddToCartProperties = GoogleCartProperties; export type GoogleRemoveFromCartProperties = GoogleCartProperties; export type GoogleViewCartProperties = GoogleCartProperties; export type GoogleViewItemProperties = GoogleCartProperties; export interface GoogleAddToWishlistProperties extends GoogleValueProperties, GoogleItemsProperties { } export interface GoogleEarnVirtualCurrencyProperties extends Record { value?: number; virtual_currency_name?: string; } export interface GoogleSpendVirtualCurrencyProperties extends GoogleEarnVirtualCurrencyProperties { item_name?: string; } export interface GoogleBeginCheckoutProperties extends GoogleValueProperties, GoogleItemsProperties { coupon?: string; } export interface GoogleJoinGroupProperties extends Record { group_id?: string; } export interface GoogleSelectItemProperties extends GoogleItemsProperties { item_list_id?: string; item_list_name?: string; } export interface GoogleViewItemListProperties extends GoogleItemsProperties { item_list_id?: string; item_list_name?: string; } export interface GooglePromotionProperties { creative_name?: string; creative_slot?: string; location_id?: string; promotion_id?: string; promotion_name?: string; } export interface GoogleSelectPromotionProperties extends GoogleItemsProperties, GooglePromotionProperties { } export interface GoogleViewPromotionProperties extends GoogleItemsProperties, GooglePromotionProperties { } export interface GooglePurchaseProperties extends GoogleValueProperties, GoogleItemsProperties { affiliation?: string; coupon?: string; shipping?: number; tax?: number; transaction_id?: string; } export interface GoogleRefundProperties extends GoogleValueProperties, GoogleItemsProperties { affiliation?: string; coupon?: string; shipping?: number; tax?: number; transaction_id?: string; } export declare class GoogleStandardEvents { addPaymentInfo(): GoogleStandardEvent; addShippingInfo(): GoogleStandardEvent; addToCart(): GoogleStandardEvent; addToWishList(): GoogleStandardEvent; beginCheckout(): GoogleStandardEvent; earnVirtualCurrency(): GoogleStandardEvent; generateLead(): GoogleStandardEvent; joinGroup(): GoogleStandardEvent; levelEnd(): GoogleStandardEvent; levelStart(): GoogleStandardEvent; levelUp(): GoogleStandardEvent; login(): GoogleStandardEvent; postScore(): GoogleStandardEvent; purchase(): GoogleStandardEvent; refund(): GoogleStandardEvent; removeFromCart(): GoogleStandardEvent; search(): GoogleStandardEvent; selectContent(): GoogleStandardEvent; selectItem(): GoogleStandardEvent; selectPromotion(): GoogleStandardEvent; share(): GoogleStandardEvent; signUp(): GoogleStandardEvent; spendVirtualCurrency(): GoogleStandardEvent; tutorialBegin(): GoogleStandardEvent; tutorialComplete(): GoogleStandardEvent; unlockAchievement(): GoogleStandardEvent; viewCart(): GoogleStandardEvent; viewItem(): GoogleStandardEvent; viewItemList(): GoogleStandardEvent; viewPromotion(): GoogleStandardEvent; } //# sourceMappingURL=StandardEvents.d.ts.map