import { AddToBasketEventPayload, IdentifyEventPayload, ItemClickPdpEventPayload, ItemClickQuickViewEventPayload, OrderEventPayload, PageViewEventPayload, ProductDetailPageEventPayload, ProductListPageEventPayload, QueueableEvents, QueuedEvent, RemoveFromBasketEventPayload, TabClickEventPayload } from '../types/tracking'; /** * Create a queued event for tracking an order. * * @param {OrderEventPayload} order - The order details to be tracked. * @returns {Promise>} A promise that resolves to * a queued event object. */ export declare const order: (order: OrderEventPayload) => Promise>; /** * Creates a queued event for tracking an "add to basket" action. * * @param {AddToBasketEventPayload} item - The item added to the basket, * containing properties like sku, quantity, etc. * @returns {Promise>} A promise that resolves to * a queued event object. */ export declare const addToBasket: (item: AddToBasketEventPayload) => Promise>; /** * Creates a queued event for tracking an "remove from basket" action. * * @param {RemoveFromBasketEventPayload} item - The item removed from * the basket. * @returns {Promise>} A promise that resolves to * a queued event object. */ export declare const removeFromBasket: (item: RemoveFromBasketEventPayload) => Promise>; /** * Creates a queued event for tracking a product list page view. * * @param {ProductListPageEventPayload} payload - The product list page event * containing page number, items and filters. * @returns {Promise>} A promise that resolves to * a queued event object. */ export declare const productListPageView: (payload: ProductListPageEventPayload) => Promise>; /** * Creates a queued event for tracking a product detail page view. * * @param {ProductDetailPageEventPayload} item - The item being viewed * on the product detail page. * @returns {Promise>} A promise that resolves to * a queued event object. */ export declare const productDetailPageView: ({ parentPageViewId, ...item }: ProductDetailPageEventPayload) => Promise>; /** * Creates a queued event for identifying a user. * * @param namespaceId - The namespace ID used for hashing the email. */ export declare const identify: (namespaceId: string) => (data: IdentifyEventPayload) => Promise>; /** * Creates an event for tracking a tab click. * * @param {TabClickEventPayload} tabClick - Tab click information. * @returns {Promise>} A promise that resolves to * a queued event object. */ export declare const tabClick: ({ parentPageViewId, ...tabClick }: TabClickEventPayload) => Promise>; /** * Creates an event for tracking an item click on a quick view. * * @param {ItemClickQuickViewEventPayload} itemClickQuickView - Item click * quick view information. * @returns {Promise>} A promise that resolves to * a queued event object. */ export declare const itemClickQuickView: ({ parentPageViewId, ...itemClickQuickView }: ItemClickQuickViewEventPayload) => Promise>; /** * Creates an event for tracking an item click on a product detail page. * * @param {ItemClickPdpEventPayload} itemClickPdp - Item click PDP information. * @returns {Promise>} A promise that resolves to * a queued event object. */ export declare const itemClickPdp: ({ parentPageViewId, ...itemClickPdp }: ItemClickPdpEventPayload) => Promise>; export declare const pageView: ({ pageViewId, ...pageView }: PageViewEventPayload) => Promise>;