/** * Extension of memoizee that clears the entire cache when it's full. * This avoids the situation where LRU cache starts thrashing when it fills up. * Could look at writing our own memoize with a smarter cache to avoid overhead of * LRU queue, but this should be sufficient for now. */ import memoizee from 'memoizee'; /** * @param fn The function to memoize * @param options The options to set for memoization */ export declare function memoizeClear(fn: F, options: memoizee.Options & { max: number; }): F & memoizee.Memoized; export default memoizeClear; //# sourceMappingURL=memoizeClear.d.ts.map