export type SetCache = (name: string, value: T, ttlMs?: number) => Promise | void; export type GetCache = (name: string) => Promise | T | undefined; export type CacheConfig = { getCache: GetCache; setCache: SetCache; }; //# sourceMappingURL=cache-types.d.ts.map