import { Cart } from '@spartacus/core'; import { Observable } from 'rxjs'; export declare abstract class SavedCartAdapter { /** * * Abstract method used to load a single saved cart */ abstract load(userId: String, cartId: String): Observable; /** * * Abstract method used to load a list of saved carts */ abstract loadList(userId: string): Observable; /** * * Abstract method used to restore a saved cart to an active cart */ abstract restoreSavedCart(userId: string, cartId: string): Observable; /** * * Abstract method used to save a cart or update a saved cart */ abstract saveCart(userId: string, cartId: string, saveCartName?: string, saveCartDescription?: string): Observable; /** * * Abstract method used to clone a saved cart */ abstract cloneSavedCart(userId: string, cartId: string, saveCartName?: string): Observable; }