import { ApolloCache, Cache, DataProxy, Reference } from '@apollo/client'; import { Queryable } from '../Queryable'; import { DocumentNode } from '../util'; /** * Apollo-specific interface to the cache. */ export declare abstract class ApolloQueryable extends ApolloCache { /** The underlying Hermes cache. */ protected abstract _queryable: Queryable; diff(options: Cache.DiffOptions): Cache.DiffResult; read(options: Cache.ReadOptions): any; readQuery(options: DataProxy.Query, optimistic?: true): QueryType; readFragment(options: DataProxy.Fragment, optimistic?: true): FragmentType | null; write(options: Cache.WriteOptions): Reference | undefined; writeQuery(options: Cache.WriteQueryOptions): Reference | undefined; writeFragment(options: Cache.WriteFragmentOptions): Reference | undefined; transformDocument(doc: DocumentNode): DocumentNode; transformForLink(document: DocumentNode): DocumentNode; evict(_options: Cache.EvictOptions): boolean; }