import { CommonAsyncLoadingTypes } from "."; type Mode = 'self' | 'others'; export type CheckoutMode = { mode: Mode; }; export type CartItems = Partial; export type BuyNowCartItems = Partial; export type Shipments = Partial; export type LadderOffers = Partial; export type PromotionOffers = Partial; export type Coupons = Partial; export type CartShareLink = Partial; export type CheckoutModeSlice = Partial; export type CartItemsCount = Partial; export type CartSlice = { cart_items: CartItems; buy_now_cart_items: BuyNowCartItems; checkout_mode: CheckoutModeSlice; cart_items_count: CartItemsCount; shipments: Shipments; ladder_offers: LadderOffers; promotion_offers: PromotionOffers; coupons: Coupons; cart_share_link: CartShareLink; }; export type AddToCartParams = { items: any[]; } & Omit; export type UpdateCartItemsParams = { id?: string; items: any[]; }; export type UpdateCheckoutModeParams = { checkout_mode: Mode; } & Omit; export type ApplyRewardPointsParams = { points: boolean; } & Omit; export {};