agsamantha/node_modules/@langchain/community/dist/utils/momento.d.ts
2024-10-02 15:15:21 -05:00

9 lines
371 B
TypeScript

import { ICacheClient } from "@gomomento/sdk-core";
/**
* Utility function to ensure that a Momento cache exists.
* If the cache does not exist, it is created.
*
* @param client The Momento cache client.
* @param cacheName The name of the cache to ensure exists.
*/
export declare function ensureCacheExists(client: ICacheClient, cacheName: string): Promise<void>;