import { type CacheClient, type CacheManagerOptions } from '@type-cacheable/core'; import type NodeCache from 'node-cache'; export declare class NodeCacheAdapter implements CacheClient { private nodeCacheClient; constructor(nodeCacheClient: NodeCache); getClientTTL(): number; get(cacheKey: string): Promise; /** * set - Sets a key equal to a value in a NodeCache cache * * @param cacheKey The key to store the value under * @param value The value to store * @param ttl Time to Live (how long, in seconds, the value should be cached) * * @returns {Promise} */ set(cacheKey: string, value: T, ttl?: number): Promise; del(keyOrKeys: string | string[]): Promise; keys(pattern: string): Promise; delHash(hashKeyOrKeys: string | string[]): Promise; } export declare const useAdapter: (client: NodeCache, asFallback?: boolean, options?: CacheManagerOptions) => NodeCacheAdapter;