import ICart, { IIndexedDeclination } from '../Interfaces/Cart'; import Space from '../lib/Space'; import { IExpeditionInfo } from '../Interfaces/Customer'; import IIndexedProduct from '../Interfaces/Indexed/Product'; import IInventoryItem from '../Interfaces/Product/IInventoryItem'; export declare const callMailchimp: (space: Space, isTest: boolean, endpoint: string, method: 'PUT' | 'POST' | 'PATCH' | 'GET' | 'DELETE', body?: any) => Promise; export declare const onCartPaymentAddToMailchimp: (cartData: ICart, space: Space) => Promise; export declare const fetchMailchimpService: (space: Space, isEcommInstance?: boolean) => import("../Interfaces/Space/IExternalService").IExternalServices | undefined; export declare const getCustomerAddress: (expeditionInfo: IExpeditionInfo) => { city: string; province: string; postal_code: string; country: string; address2?: string | undefined; address1: string; }; export declare const getTypeAttribute: (data: IIndexedProduct) => { type?: undefined; } | { type: string; }; export declare const getInventoryForDecli: (decli: IIndexedDeclination, inventories: IInventoryItem[]) => number; export declare const createProdVariants: (prod: IIndexedProduct, space: Space, inventories?: IInventoryItem[]) => { visibility?: string | undefined; image_url: string; inventory_quantity?: number | undefined; id: string; title: string; sku: string; price: number; }[]; export declare const getInventories: (declis: IIndexedDeclination[], space: Space) => Promise; export declare const mailchimpActions: { products: { delete: (storeID: string, productID: string, space: Space, isTest: boolean) => Promise; add: (productData: IIndexedProduct, storeID: string, space: Space, isTest: boolean) => Promise; update: (data: IIndexedProduct, storeID: string, space: Space, isTest: boolean) => Promise; updateVariant: (body: any, storeID: string, productID: string, variantID: string, space: Space, isTest: boolean) => Promise; }; customers: { add: (cartData: ICart, storeID: string, space: Space, isTest: boolean) => Promise; update: (listID: string, space: Space, isTest: boolean, customerID: string, tags: { name: string; value: string; }[], fields: { [key: string]: any; }) => Promise; delete: (storeID: string, customerID: string, space: Space, isTest: boolean) => Promise; exists: (customerID: string, storeID: string, space: Space, isTest: boolean) => Promise; }; orders: { add: (cartData: ICart, storeID: string, space: Space, isTest: boolean) => Promise; }; carts: { delete: (storeID: string, cartID: string, space: Space, isTest: boolean) => Promise; add: (cartData: ICart, storeID: string, space: Space, isTest: boolean) => Promise; }; };