import type { ApolloCache } from "../../core/index.js"; export interface ReactiveVar { (newValue?: T): T; onNextChange(listener: ReactiveListener): () => void; attachCache(cache: ApolloCache): this; forgetCache(cache: ApolloCache): boolean; } export type ReactiveListener = (value: T) => any; export declare const cacheSlot: { readonly id: string; hasValue(): boolean; getValue(): ApolloCache | undefined; withValue(value: ApolloCache, callback: (this: TThis, ...args: TArgs) => TResult, args?: TArgs | undefined, thisArg?: TThis | undefined): TResult; }; export declare function forgetCache(cache: ApolloCache): void; export declare function recallCache(cache: ApolloCache): void; export declare function makeVar(value: T): ReactiveVar; //# sourceMappingURL=reactiveVars.d.ts.map