import ApolloClient from "apollo-client"; import { Config } from "../types"; import { AuthAPI } from "./Auth"; import APIProxy from "./APIProxy"; import { CooperCartAPI } from "./Cart"; import { CooperCheckoutAPI } from "./Checkout"; import { CollectionsAPI } from "./collections/collections"; import { CategoriesAPI } from "./categories/categories"; import { ProductsAPI } from "./products/products"; export * from "./Checkout"; export * from "./Cart"; export declare class CooperAPI { auth: AuthAPI; checkout: CooperCheckoutAPI; cart: CooperCartAPI; categories: CategoriesAPI; collections: CollectionsAPI; products: ProductsAPI; /** * @deprecated Please do not use it anymore. Reference to API Proxy will be removed in future. * Now it just exists for legacy React hooks, which also will be removed. */ legacyAPIProxy: APIProxy; constructor(client: ApolloClient, apiProxy: APIProxy, config: Config, onStateUpdate?: () => any); }