import { Cache } from '@subql/types-core'; export type HostCache = { cacheSet(key: string, value: any): Promise; cacheGet(key: string): Promise; }; export declare const hostCacheKeys: (keyof HostCache)[]; export declare const hostCacheToCache: (host: HostCache) => Cache; export declare function cacheHostFunctions(cache: Cache): HostCache; export declare class WorkerInMemoryCacheService { private host; constructor(host: HostCache); getCache(): Cache; }