import type { TypePolicies } from '@apollo/client/core'; import type { Policies } from '@apollo/client/cache/inmemory/policies'; import type { Constructor } from '@apollo-elements/core/types'; import type { ApolloElementElement } from '@apollo-elements/core/types'; declare module '@apollo/client/cache' { interface ApolloCache { policies: Policies; } } /** * Lazily adds [`TypePolicies`](https://www.apollographql.com/docs/react/caching/cache-configuration/#typepolicy-fields) * to the Apollo client when the element connects to the DOM, * from the element's `typePolicies` instance property. */ declare function TypePoliciesMixinImpl>(superclass: B): B & Constructor<{ typePolicies?: TypePolicies; }>; export declare const TypePoliciesMixin: typeof TypePoliciesMixinImpl; export {};