import { EventType } from "../../../event/core/event"; import { CartEvent } from "../base/cart-event"; /** * Session Cart Add Event. * * Should be used whenever the user adds a new product to the basket. * Should be sent with info about the product the user just added * to the basket. * * @export * @class SessionCartAddEvent * @extends {Event} */ export declare class SessionCartAddEvent extends CartEvent { locale?: string; channel?: string; type: EventType; /** * Creates an instance of SessionCartAddEvent. * * @memberof SessionCartAddEvent */ constructor(locale?: string, channel?: string); /** * Push this SessionCartAddEvent event to the server. * * If no products are passed before this method is called * nothing will be done. * * @return {Promise} * @memberof SessionCartAddEvent */ push(): Promise; }