export interface HasCache { /** * Use to cache arbitrary content associated with this instance. * Use for smallish objects that are expensive to compute. */ readonly cache: Record; } /** * Retrieve the value if stored in the cache. Otherwise compute with the given function * and store */ export declare function retrieveOrCompute(t: T, key: string, how: (t: T) => R, cache?: boolean): Promise; //# sourceMappingURL=HasCache.d.ts.map