import type { CartApiObjectFragment, CartLineInput, CartUserError, Maybe } from '../generated/graphql'; import type { Constructor } from '../mixins/Base'; import type { ExternalTypes } from '../typing'; import type { WebviewCheckoutCart } from '../util/types'; declare type CartResponse = Maybe<{ readonly cart?: Maybe; readonly userErrors: ReadonlyArray>; }>; export interface SuccessfulCartResponse { readonly cart: CartApiObjectFragment; readonly userErrors: ReadonlyArray>; } export declare const CartApiMixin: >(superclass: T) => { new (...args: any[]): { /** * Adds items to an existing cart * * (Non-public members are not supported on class expressions/mixins in TS) * * @param cartId - ID of the checkout to update * @param lines - Items to be added to cart * @return Cart */ addToExistingCart(cartId: string, lines: CartLineInput[]): Promise; /** * Create a new cart with the specified items added * * (Non-public members are not supported on class expressions/mixins in TS) * * @param lines - Items to be added to cart * @return Cart */ addToNewCart(lines: CartLineInput[]): Promise; /** * Gets discount codes that are already applied to a given cart * * (Non-public members are not supported on class expressions/mixins in TS) * * @param cartId - ID of the cart containing the discount codes * @return Discount Codes */ getCurrentDiscountCodes(cartId: string): Promise; assertSuccessfulCartResponse(msg: string, response?: CartResponse): asserts response is SuccessfulCartResponse; addToCart(productOrVariantId: string, qty?: number): Promise; fetchCart(): Promise; destroyCart(): Promise; removeCartItem(itemId: string): Promise; setCustomerInfo(options: ExternalTypes.CustomerInfoOptions): Promise; updateCartItemQty(itemId: string, qty: number): Promise; applyPromo(promoCode: string): Promise; removePromo(promoItemId: string): Promise; addPayment(cartId: string, payment: ExternalTypes.Payment): Promise; fetchPaymentMethods(cartId: string): Promise; fetchShippingMethods(cartId: string, shipmentId: string): Promise; setBillingAddress(options: ExternalTypes.BillingAddressOptions): Promise; setShipmentAddress(options: ExternalTypes.ShipmentAddressOptions): Promise; setShipmentMethod(options: ExternalTypes.ShipmentMethodOptions): Promise; submitOrder(checkoutId: string): Promise; updatePayment(cartId: string, paymentId: string, payment: ExternalTypes.Payment): Promise; updateGiftOptions(giftOptions: ExternalTypes.GiftOptions): Promise; updateOrder(order: ExternalTypes.Order): Promise; updateOrderPayment(orderId: string, paymentId: string, payment: ExternalTypes.Payment): Promise; readonly minRefinements: 0; readonly config: import("../util/types").ShopifyConfig; cartId?: string | undefined; payment?: Partial | undefined; readonly middleware: ({ minRefinements: never; fetchProducts?: undefined; fetchProductLists?: undefined; createProductList?: undefined; addItemToProductList?: undefined; deleteItemFromProductList?: undefined; login: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; logout: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; register: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; deleteAccount?: undefined; fetchSavedAddresses: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; addSavedAddress: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; editSavedAddress: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; deleteSavedAddress: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; fetchSavedPayments: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; addSavedPayment: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; deleteSavedPayment: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; forgotPassword: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; fetchAccount: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; updateAccount: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; updatePassword: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; fetchOrders: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; fetchOrder: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; fetchContentResources?: undefined; searchContentResources?: undefined; addToCart: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; addPayment: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; fetchCart: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; destroyCart: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; fetchPaymentMethods: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; fetchShippingMethods: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; removeCartItem: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; setBillingAddress: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; setCustomerInfo: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; setShipmentAddress: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; setShipmentMethod: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; submitOrder: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; updateOrder: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; updateOrderPayment: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; updateCartItemQty: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; updatePayment: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; updateGiftOptions: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; applyPromo: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; removePromo: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; mutateCartDataWithProductDetail?: undefined; fetchProductRecommendations: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; search: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; searchSuggestion: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; fetchProduct: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; fetchProductIndex: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; fetchCategory: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[]; fetchProductPromotion?: undefined; } & { refreshToken?: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[] | undefined; fetchProducts?: ExternalTypes.MiddlewareFunction | ExternalTypes.MiddlewareFunction[] | undefined; }) | undefined; readonly client: import("graphql-request").GraphQLClient; readonly sdk: { cartApiAttributesUpdate(variables: import("../generated/graphql").Exact<{ attributes: import("../generated/graphql").AttributeInput | readonly import("../generated/graphql").AttributeInput[]; cartId: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; includeCustomerTags: boolean; includeSellingPlans: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; cartApiBuyerIdentityUpdate(variables: import("../generated/graphql").Exact<{ buyerIdentity: import("../generated/graphql").CartBuyerIdentityInput; cartId: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; includeCustomerTags: boolean; includeSellingPlans: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; cartApiDiscountCodesUpdate(variables: import("../generated/graphql").Exact<{ discountCodes?: import("../generated/graphql").InputMaybe | undefined; cartId: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; includeCustomerTags: boolean; includeSellingPlans: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; cartApiLinesAdd(variables: import("../generated/graphql").Exact<{ lines: CartLineInput | readonly CartLineInput[]; cartId: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; includeCustomerTags: boolean; includeSellingPlans: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; cartApiLinesRemove(variables: import("../generated/graphql").Exact<{ ids: string | readonly string[]; cartId: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; includeCustomerTags: boolean; includeSellingPlans: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; cartApiLinesUpdate(variables: import("../generated/graphql").Exact<{ lines: import("../generated/graphql").CartLineUpdateInput | readonly import("../generated/graphql").CartLineUpdateInput[]; cartId: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; includeCustomerTags: boolean; includeSellingPlans: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; cartApiNoteUpdate(variables: import("../generated/graphql").Exact<{ note?: import("../generated/graphql").InputMaybe | undefined; cartId: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; includeCustomerTags: boolean; includeSellingPlans: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; cartApiObjectCreate(variables: import("../generated/graphql").Exact<{ input: import("../generated/graphql").CartInput; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; includeCustomerTags: boolean; includeSellingPlans: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; setCartUserToken(variables: import("../generated/graphql").Exact<{ buyerIdentity: import("../generated/graphql").CartBuyerIdentityInput; cartId: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; checkoutCompleteWithCreditCardV2(variables: import("../generated/graphql").Exact<{ checkoutId: string; payment: import("../generated/graphql").CreditCardPaymentInputV2; includeProductTags: boolean; includeLineItems: boolean; includeProductMetadata: boolean; includeVariantMetadata: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; checkoutCreate(variables: import("../generated/graphql").Exact<{ input: import("../generated/graphql").CheckoutCreateInput; queueToken?: import("../generated/graphql").InputMaybe | undefined; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; checkoutCustomerAssociateV2(variables: import("../generated/graphql").Exact<{ checkoutId: string; customerAccessToken: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; checkoutCustomerDisassociateV2(variables: import("../generated/graphql").Exact<{ checkoutId: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; checkoutDiscountCodeApplyV2(variables: import("../generated/graphql").Exact<{ discountCode: string; checkoutId: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; checkoutDiscountCodeRemove(variables: import("../generated/graphql").Exact<{ checkoutId: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; checkoutEmailUpdateV2(variables: import("../generated/graphql").Exact<{ checkoutId: string; email: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; checkoutLineItemsAdd(variables: import("../generated/graphql").Exact<{ lineItems: import("../generated/graphql").CheckoutLineItemInput | readonly import("../generated/graphql").CheckoutLineItemInput[]; checkoutId: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; checkoutLineItemsRemove(variables: import("../generated/graphql").Exact<{ checkoutId: string; lineItemIds: string | readonly string[]; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; checkoutLineItemsUpdate(variables: import("../generated/graphql").Exact<{ checkoutId: string; lineItems: import("../generated/graphql").CheckoutLineItemUpdateInput | readonly import("../generated/graphql").CheckoutLineItemUpdateInput[]; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; checkoutShippingAddressUpdateV2(variables: import("../generated/graphql").Exact<{ shippingAddress: import("../generated/graphql").MailingAddressInput; checkoutId: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; checkoutShippingLineUpdate(variables: import("../generated/graphql").Exact<{ checkoutId: string; shippingRateHandle: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerAccessTokenCreate(variables: import("../generated/graphql").Exact<{ input: import("../generated/graphql").CustomerAccessTokenCreateInput; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerAccessTokenDelete(variables: import("../generated/graphql").Exact<{ customerAccessToken: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerAccessTokenRenew(variables: import("../generated/graphql").Exact<{ customerAccessToken: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerAddressCreate(variables: import("../generated/graphql").Exact<{ customerAccessToken: string; address: import("../generated/graphql").MailingAddressInput; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerAddressDelete(variables: import("../generated/graphql").Exact<{ id: string; customerAccessToken: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerAddressUpdate(variables: import("../generated/graphql").Exact<{ customerAccessToken: string; id: string; address: import("../generated/graphql").MailingAddressInput; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerCreate(variables: import("../generated/graphql").Exact<{ input: import("../generated/graphql").CustomerCreateInput; includeCustomerTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerDefaultAddressUpdate(variables: import("../generated/graphql").Exact<{ customerAccessToken: string; addressId: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerRecover(variables: import("../generated/graphql").Exact<{ email: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerUpdate(variables: import("../generated/graphql").Exact<{ customerAccessToken: string; customer: import("../generated/graphql").CustomerUpdateInput; includeCustomerTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; addressById(variables: import("../generated/graphql").Exact<{ id: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; allCategories(variables?: import("../generated/graphql").Exact<{ after?: import("../generated/graphql").InputMaybe | undefined; first?: import("../generated/graphql").InputMaybe | undefined; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }> | undefined, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; cartApiObjectById(variables: import("../generated/graphql").Exact<{ id: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; includeCustomerTags: boolean; includeSellingPlans: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; getCartApiDiscountCodes(variables: import("../generated/graphql").Exact<{ id: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; category(variables: import("../generated/graphql").Exact<{ id: string; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; categoryByHandle(variables: import("../generated/graphql").Exact<{ handle: string; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; availableShippingMethods(variables: import("../generated/graphql").Exact<{ id: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; cartById(variables: import("../generated/graphql").Exact<{ id: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerCart(variables: import("../generated/graphql").Exact<{ customerAccessToken: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerCartId(variables: import("../generated/graphql").Exact<{ customerAccessToken: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; orderDetailsByCheckoutId(variables: import("../generated/graphql").Exact<{ checkoutId: string; includeProductTags: boolean; includeLineItems: boolean; includeProductMetadata: boolean; includeVariantMetadata: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customer(variables: import("../generated/graphql").Exact<{ customerAccessToken: string; includeCustomerTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; customerOrderHistory(variables: import("../generated/graphql").Exact<{ customerAccessToken: string; after?: import("../generated/graphql").InputMaybe | undefined; first?: import("../generated/graphql").InputMaybe | undefined; includeProductTags: boolean; includeLineItems: boolean; includeProductMetadata: boolean; includeVariantMetadata: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; productsByIds(variables: import("../generated/graphql").Exact<{ ids: string | readonly string[]; includeInventory: boolean; includeProductTags: boolean; includeProductOptions: boolean; includeProductMetadata: boolean; includeProductVariants: boolean; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; orderDetailsById(variables: import("../generated/graphql").Exact<{ id: string; includeProductTags: boolean; includeLineItems: boolean; includeProductMetadata: boolean; includeVariantMetadata: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; paymentSettings(variables?: import("../generated/graphql").Exact<{ [key: string]: never; }> | undefined, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; product(variables: import("../generated/graphql").Exact<{ id: string; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; productByHandle(variables: import("../generated/graphql").Exact<{ handle: string; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; productIndex(variables: import("../generated/graphql").Exact<{ id?: import("../generated/graphql").InputMaybe | undefined; handle?: import("../generated/graphql").InputMaybe | undefined; after?: import("../generated/graphql").InputMaybe | undefined; before?: import("../generated/graphql").InputMaybe | undefined; first?: import("../generated/graphql").InputMaybe | undefined; last?: import("../generated/graphql").InputMaybe | undefined; reverse?: import("../generated/graphql").InputMaybe | undefined; sortKey?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeProductTags: boolean; includeProductOptions: boolean; includeProductMetadata: boolean; includeProductVariants: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; products(variables: import("../generated/graphql").Exact<{ after?: import("../generated/graphql").InputMaybe | undefined; before?: import("../generated/graphql").InputMaybe | undefined; first?: import("../generated/graphql").InputMaybe | undefined; last?: import("../generated/graphql").InputMaybe | undefined; reverse?: import("../generated/graphql").InputMaybe | undefined; sortKey?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeProductTags: boolean; includeProductOptions: boolean; includeProductMetadata: boolean; includeProductVariants: boolean; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; savedAddresses(variables: import("../generated/graphql").Exact<{ customerAccessToken: string; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; search(variables: import("../generated/graphql").Exact<{ after?: import("../generated/graphql").InputMaybe | undefined; before?: import("../generated/graphql").InputMaybe | undefined; first?: import("../generated/graphql").InputMaybe | undefined; last?: import("../generated/graphql").InputMaybe | undefined; reverse?: import("../generated/graphql").InputMaybe | undefined; sortKey?: import("../generated/graphql").InputMaybe | undefined; query?: import("../generated/graphql").InputMaybe | undefined; imageMaxHeight?: import("../generated/graphql").InputMaybe | undefined; imageMaxWidth?: import("../generated/graphql").InputMaybe | undefined; includeInventory: boolean; includeStoreAvailability: boolean; includeProductTags: boolean; metafieldIdentifiers?: import("../generated/graphql").InputMaybe | undefined; }>, requestHeaders?: (Record | import("graphql-request/dist/types.dom").Headers | string[][]) | undefined): Promise; }; readonly persistentStorage: import("..").PersistentStorageInterface; readonly refreshWindow: number; readonly network: ExternalTypes.FSNetwork; queueToken?: string | undefined; readonly testPayment: boolean; readonly retryTimeout: number; readonly extraAccessScopes: Set; readonly expansions: { productIndex: Set<"options" | "tags" | "metadata" | "inventory" | "variants">; products: Set<"options" | "tags" | "metadata" | "inventory" | "variants">; orderList: Set<"products" | "productMetadata" | "productTags" | "variantMetadata">; }; parseConfigOption(availableOptions: readonly Key[], option?: string | Key[] | undefined): Set; getCustomerToken(): Promise; refreshToken(token: string): Promise; getCartId(getCheckoutIdFromAccount?: boolean): Promise; setCartId(cartId?: string | undefined): Promise; }; } & T; export {};