import { PersistedData, PersistentStore } from "offix-scheduler"; import { ApolloOfflineClientOptions, InputMapper } from "./ApolloOfflineClientOptions"; import { NetworkStatus } from "offix-offline"; import { ConflictResolutionStrategy, ObjectState } from "offix-conflicts-client"; import { ApolloLink } from "apollo-link"; import { CacheUpdates } from "offix-cache"; import { ApolloOfflineQueueListener, CompositeConflictListener } from "../apollo"; import { CachePersistor } from "apollo-cache-persist"; /** * Class for managing user and default configuration. * Default config is applied on top of user provided configuration */ export declare class ApolloOfflineClientConfig { httpUrl?: string; offlineQueueListener?: ApolloOfflineQueueListener; conflictStrategy: ConflictResolutionStrategy; conflictProvider: ObjectState; networkStatus?: NetworkStatus; terminatingLink: ApolloLink | undefined; cacheStorage: PersistentStore; offlineStorage: PersistentStore; conflictListener: CompositeConflictListener; mutationCacheUpdates?: CacheUpdates; cachePersistor?: CachePersistor; link?: ApolloLink; inputMapper?: InputMapper; cache: any; retryOptions: { delay: { initial: number; max: number; jitter: boolean; }; attempts: { max: number; }; }; constructor(options?: ApolloOfflineClientOptions); }