import Session from '../session/session'; import { Cart, CartPricing } from '../typings'; export default class CartApi { protected session: Session; constructor(session: Session); getCart(cartId: string | number): Promise; getPricing(cartId: string | number, countryId: string | number): Promise; getCartStatus(cartId: string | number): Promise<{ completed: string; }>; postCart(merchant: string): Promise; postProduct(cartId: string | number, productId: string | number, count: number): Promise; postCoupon(cartId: string | number, couponCode: string, countryId: string): Promise; deleteItem(cartItemId: string | number): Promise; updateItemCount(cartItemId: string | number, count: number): Promise; }