/// <reference types="react" />
import { ShoppingCart } from '../../../api/cart-types';
export declare function useCartError(cart: ShoppingCart): {
    error: string;
    setError: import("react").Dispatch<import("react").SetStateAction<string>>;
};
//# sourceMappingURL=use-cart-error.d.ts.map