import EcomClient from './index'; export declare class CartItem { client: EcomClient; sku: string; qty: number; unitPrice: number; created: Date; modified: Date; constructor(client: EcomClient, sku: string, qty: number, unitPrice: number, created: Date, modified: Date); updateQty(qty: number): Promise; delete(): Promise; } export declare class Cart { client: EcomClient; id: string; items: CartItem[]; constructor(client: EcomClient, id: string); getItems(): Promise; getCartId(): string; findItem(sku: string): object | null; countItems(): number; /** * Adds an item to the shopping cart * @param {string} productId * @param {number} qty */ addItem(productId: string, qty: number): Promise; emptyAllItems(): Promise; }