import { TokenApi } from './token-api';
import { CartItemModel, ShoppingCart } from './cart-types';
export declare class CartApi {
    private tipserApiUrl;
    private tokenApi;
    constructor(tipserApiUrl: string, tokenApi: TokenApi);
    addToCart(productId: string, posId: string, options?: {
        posData?: string;
    }, analyticsSessionId?: any): Promise<void>;
    removeFromCart(productId: string): Promise<boolean>;
    getNumberOfItems(): Promise<number>;
    getCartItems(): Promise<CartItemModel[]>;
    getShoppingCart(): Promise<ShoppingCart>;
    updateQuantityInCart(productId: string, quantity: number): Promise<unknown>;
    updatePosData(productIdToPosData: {
        [productId: string]: string;
    }): Promise<void>;
}
//# sourceMappingURL=cart-api.d.ts.map