/**
 * @license
 * Copyright (c) 2021 QBCart Inc. All rights reserved.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source repo.
 */
import type CartItem from '@qbcart/types/eshop/cart-item';
/**
 * Hook for retrieving items in the cart.
 * @param {boolean} userLoggedIn - Whether to use userCart or guestCart storage.
 * @return An array of cart items to be used.
 */
declare const useCartItems: (userLoggedIn: boolean) => Partial<CartItem>[];
export default useCartItems;
