import ApolloClient, { ApolloClientOptions } from 'apollo-client'; export type ClientInstance = any; export interface ApiConfig { uri: string; authHost: string; projectKey: string; clientId: string; clientSecret: string; scopes: string[]; } export interface CookiesConfig { currencyCookieName: string; countryCookieName: string; localeCookieName: string; } export interface Config { [x: string]: any; app: Record; graphqlBaseUrl: string; odooBaseUrl: string; cookies: CookiesConfig; redisClient: boolean; client?: ApolloClient; api: ApiConfig; customOptions?: ApolloClientOptions; currency: string; locale: string; country: string; languageMap: Record; acceptLanguage: string[]; forceToken?: boolean; setGuestCheckoutToken: (string) => void; getGuestCheckoutToken: () => string; removeGuestCheckoutToken: () => void; }