import { IPurchase, IProductBlueprint } from '@rpg-engine/shared';
interface ICartItem {
    item: IProductBlueprint;
    quantity: number;
    metadata?: Record<string, any>;
}
interface IUseStoreCart {
    cartItems: ICartItem[];
    isCartOpen: boolean;
    handleAddToCart: (item: IProductBlueprint, quantity: number, metadata?: Record<string, any>) => void;
    handleRemoveFromCart: (itemKey: string) => void;
    handlePurchase: (onPurchase: (purchase: IPurchase) => void) => void;
    openCart: () => void;
    closeCart: () => void;
    getTotalItems: () => number;
    getTotalPrice: () => number;
    isCollectingMetadata: boolean;
}
export declare const useStoreCart: () => IUseStoreCart;
export {};
