/**
 * @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.
 */
/**
 * Hook for adding an item to the cart.
 * @param {boolean} userLoggedIn - Whether to use userCart or guestCart.
 * @return A function for adding an item to the cart.
 */
declare const useAddToCart: (userLoggedIn: boolean) => (id: string, price: number, quantity: string) => Promise<boolean>;
export default useAddToCart;
