export declare type Item = { id: string; }; export declare type Price = { price: number; }; export declare type Qty = { qty: number; }; export declare type Shipping = { shipping: number; }; export declare type Total = { total: number; }; export declare type Items = { items: T[]; }; export declare type Order> = T & { invoiced: T[]; refunded: T[]; canceled: T[]; }; export declare type ItemQty = Item & Qty; export declare type ItemTotal = Item & Total; export declare type CartItem = ItemQty & Price & Partial; export declare type Cart = Items & Shipping; export declare type CartTotals = Cart & Total;