import type { Cart, CartItem, PreorderAttributes, QuantityUpdate } from "./cart"; export interface ShopifyStorefrontCartItem extends CartItem { merchandise?: { id: string; }; } export declare class ShopifyStorefrontCart implements Cart { private origin; private accessToken; constructor(origin: string, accessToken: string); hasPreorderAttributes(item: ShopifyStorefrontCartItem): boolean; addPreorderAttributes(item: ShopifyStorefrontCartItem, attrs: PreorderAttributes): { attributes: { key: string; value: string; }[]; merchandise?: { id: string; }; id: string; variantId: string | null; quantity: number; }; removePreorderAttributes(item: ShopifyStorefrontCartItem): { attributes: { key: string; value: string; }[]; merchandise?: { id: string; }; id: string; variantId: string | null; quantity: number; }; fetchItems(cartId?: string | null): Promise[]>; decrementQuantity(variantIdOrCartLineItemId: string, cartId?: string | null): Promise; updateQuantities(updates: QuantityUpdate[], cartId?: string | null): Promise; clear(cartId?: string | null): Promise; navigateToCheckout(cartId?: string | null): Promise; getCartId(): Promise; getCartType(): string; private graphql; }