1 | import type * as ReactTypes from "react";
|
2 | import type { ApolloClient } from "../../core/index.js";
|
3 | import type { RenderPromises } from "../ssr/index.js";
|
4 | export interface ApolloContextValue {
|
5 | client?: ApolloClient<object>;
|
6 | renderPromises?: RenderPromises;
|
7 | }
|
8 | export declare function getApolloContext(): ReactTypes.Context<ApolloContextValue>;
|
9 | /**
|
10 | * @deprecated This function has no "resetting" effect since Apollo Client 3.4.12,
|
11 | * and will be removed in the next major version of Apollo Client.
|
12 | * If you want to get the Apollo Context, use `getApolloContext` instead.
|
13 | */
|
14 | export declare const resetApolloContext: typeof getApolloContext;
|
15 | //# sourceMappingURL=ApolloContext.d.ts.map |
\ | No newline at end of file |