import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios'; import { CreateCustomerResponse, CreatePaymentResponse, CreateProductResponse, GetCustomerResponse, GetProductResponse, GetProductsResponse, SellixCustomer, SellixPayment, SellixProduct, UpdateCustomerResponse, UpdateProductResponse } from './types/API'; import { SellixAPIConfig } from './types/SellixAPIConfig'; export default class SellixAPI { readonly config: SellixAPIConfig; readonly request: AxiosInstance; constructor(apiConfig: SellixAPIConfig, requestConfig?: AxiosRequestConfig); getCustomers: () => Promise>; createCustomer: (customer: SellixCustomer) => Promise>; updateCustomer: (customerId: string, customer: SellixCustomer) => Promise>; getCustomer: (customerId: string) => Promise>; createPayment: (paymentDetails: SellixPayment) => Promise>; voidPayment: (uniqid: string) => Promise>; getProducts: () => Promise>; getProduct: (productId: string) => Promise>; createProduct: (product: SellixProduct) => Promise>; updateProduct: (productId: string, product: SellixProduct) => Promise>; }