import React from 'react';
import { ShoppingCart } from './api/cart-types';
export declare const useCartStateContext: () => {
    cart: ShoppingCart;
    refresh: () => Promise<ShoppingCart>;
};
export declare type CartStateContextProviderApi = {
    getCart: () => ShoppingCart;
};
export declare const CartStateContextProvider: React.ForwardRefExoticComponent<{
    children?: React.ReactNode;
} & React.RefAttributes<CartStateContextProviderApi>>;
//# sourceMappingURL=cart-state-context-provider.d.ts.map