import { EventType } from "../../../event/core/event"; import { CartEvent } from "../base/cart-event"; /** * Cart Pageview Event. * * Should be used whenever the user enters the cart page. * Should be sent with info about the user's current basket. * * If no products are passed before the push method is called * the type of event sent will be an EmptyCart pageview. * * @export * @class PageCartEvent * @extends {Event} */ export declare class PageCartEvent extends CartEvent { locale?: string; channel?: string; type: EventType; /** * Creates an instance of PageCartEvent. * * @memberof PageCartEvent * @param {string} session * @param {string} anonymous */ constructor(locale?: string, channel?: string, session?: string, anonymous?: string); /** * Push this CartPageView event to the server. * * If no products are passed before this method is called * the type of event sent will be an EmptyCart pageview. * * @return {Promise} * @memberof PageCartEvent */ push(): Promise; }