import { App } from "../App.js"; export type CacheSeconds = number | ((result: T) => number); export interface ICacheEntry { key: string; ttlSeconds?: CacheSeconds; value?: Promise; } export default class CacheService { private app; private cache; constructor(app: App); remove(key: string): any; getOrCreate(key: string, task: (cacheEntry?: ICacheEntry) => Promise): Promise; private clear; } //# sourceMappingURL=CacheService.d.ts.map