import { EventManager } from '../EventManager'; import { IBaseCSM } from '../shared/types'; export interface IOrderStatusCSM extends IBaseCSM { onCheckoutOnly: () => this; onOrderOnly: () => this; } export declare class OrderStatusCSM implements IOrderStatusCSM { private _eventManager; private _onCheckoutOnly; private _onOrderOnly; constructor(eventManager: EventManager); /** * Execute callback(s) on the very first time you * land on the Order Status page. */ onCheckoutOnly: () => this; /** * Execute callback(s) on visits that * ARE NOT the very first time you * land on the Order Status page. */ onOrderOnly: () => this; execute: (...callbacks: Function[]) => Function; }