import { CartData } from '@components/frontStore/cart/CartContext.js'; import { Customer } from '@components/frontStore/customer/CustomerContext.js'; import React from 'react'; interface BaseProps { myCart: CartData; customer: Customer; themeConfig: { copyRight: string; }; addMineCartItemApi: string; loginApi: string; logoutApi: string; registerApi: string; } export default function Base({ myCart, customer, themeConfig, addMineCartItemApi, loginApi, logoutApi, registerApi }: BaseProps): React.JSX.Element; export declare const layout: { areaId: string; sortOrder: number; }; export declare const query = "\n query Query {\n myCart {\n ...ShoppingCart\n addItemApi\n addPaymentMethodApi\n addShippingMethodApi\n addContactInfoApi\n addAddressApi\n addNoteApi\n checkoutApi\n applyCouponApi\n removeCouponApi\n availableShippingMethods {\n code\n name\n cost {\n value\n text\n }\n }\n availablePaymentMethods {\n code\n name\n }\n items {\n ...ShoppingCartItem\n cartItemId\n removeApi\n updateQtyApi\n errors\n }\n }\n customer: currentCustomer {\n customerId\n uuid\n email\n fullName\n groupId\n createdAt {\n value\n text\n }\n addAddressApi\n addresses {\n addressId\n uuid\n fullName\n telephone \n address1\n address2\n city\n province {\n code\n name\n }\n country {\n code\n name\n }\n postcode\n isDefault\n updateApi\n deleteApi\n }\n orders {\n ...ShoppingCart\n orderId\n status {\n name\n code\n badge\n }\n orderNumber\n shipmentStatus {\n name\n code\n badge\n }\n paymentStatus {\n name\n code\n badge\n }\n items {\n ...ShoppingCartItem\n orderItemId\n }\n }\n }\n themeConfig {\n copyRight\n }\n addMineCartItemApi: url(routeId: \"addMineCartItem\")\n loginApi: url(routeId: \"customerLoginJson\")\n registerApi: url(routeId: \"createCustomer\")\n logoutApi: url(routeId: \"customerLogoutJson\")\n }\n"; export declare const fragments = "\n fragment ShoppingCart on ShoppingCart {\n uuid\n currency\n customerId\n customerGroupId\n customerEmail\n customerFullName\n coupon\n noShippingRequired\n shippingMethod\n shippingMethodName\n paymentMethod\n paymentMethodName\n shippingNote\n taxAmount {\n value\n text\n }\n totalTaxAmount {\n value\n text\n }\n discountAmount {\n value\n text\n }\n shippingFeeExclTax {\n value\n text\n }\n shippingFeeInclTax {\n value\n text\n }\n shippingTaxAmount {\n value\n text\n }\n subTotal {\n value\n text\n }\n subTotalInclTax {\n value\n text\n }\n subTotalWithDiscount {\n value\n text\n }\n subTotalWithDiscountInclTax {\n value\n text\n }\n totalQty\n totalWeight {\n value\n unit\n }\n taxAmountBeforeDiscount {\n value\n text\n }\n grandTotal {\n value\n text\n }\n billingAddress {\n fullName\n telephone\n address1\n address2\n city\n province {\n name\n code\n }\n country {\n name\n code\n }\n postcode\n }\n shippingAddress {\n fullName\n telephone\n address1\n address2\n city\n province {\n name\n code\n }\n country {\n name\n code\n }\n postcode\n }\n createdAt {\n value\n text\n }\n updatedAt {\n value\n text\n }\n }\n\n fragment ShoppingCartItem on ShoppingCartItem {\n uuid\n productId\n productSku\n productName\n thumbnail\n productWeight {\n value\n unit\n }\n productPrice {\n value\n text\n }\n productPriceInclTax {\n value\n text\n }\n qty\n finalPrice {\n value\n text\n }\n finalPriceInclTax {\n value\n text\n }\n taxPercent\n taxAmount {\n value\n text\n }\n taxAmountBeforeDiscount {\n value\n text\n }\n discountAmount {\n value\n text\n }\n lineTotal {\n value\n text\n }\n subTotal {\n value\n text\n }\n lineTotalWithDiscount {\n value\n text\n }\n lineTotalWithDiscountInclTax {\n value\n text\n }\n lineTotalInclTax {\n value\n text\n }\n total {\n value\n text\n }\n variantGroupId\n variantOptions {\n attributeCode\n attributeName\n attributeId\n optionId\n optionText\n }\n productUrl\n }\n"; export {};