import { Installer } from "../../GlobalContext/types.cjs"; import { ApiCacheOptions } from "./types.cjs"; //#region src/api/installApiCache/installApiCache.d.ts /** * Creates a GlobalContext installer for API query cache support. * * @param options - API integration options. * @param options.queryCache - Query cache shared by API hooks and SSR hydration. * * @returns Installer that provides the query cache under the tools query cache context key. * * @example * import { createQueryCache } from '@pastweb/tools'; * import { GlobalContext, installApiCache } from '@pastweb/react'; * * const queryCache = createQueryCache(); * const apiCache = installApiCache({ queryCache }); * * * * */ declare function installApiCache(options: ApiCacheOptions): Installer; //#endregion export { installApiCache }; //# sourceMappingURL=installApiCache.d.cts.map