import type { ApolloClient, NormalizedCacheObject } from '@apollo/client'; /** * Returns the internal Apollo Client instance. * * @example * ``` * const client = useApolloClient(); * ``` * * If you already signed in, the instance will be already include Access Token credentials in its requests. * * The internal Apollo Client instance is configured so that it automatically renews credentials (both Access Token and Refresh Token) when they expire. * This is done transparently, so you don't need to worry about it. * * Perform a query * ```ts * const client = useApolloClient(); * const { data, loading, error } = useQuery(gql``, { client }) * ``` * * @experimental This hook is experimental and may change in the future. * @category Misc * @group Hooks */ export declare function useApolloClient(): ApolloClient;