/** Implement memo cache. */ export declare class MemoCache { private cache; get(key: string): V | undefined; set(key: string, value: V): void; has(key: string): boolean; clear(): void; size(): number; } /** Memoize async. */ export declare function memoizeAsync(fn: (...args: Args) => Promise, keyHasher: (...args: Args) => string): (...args: Args) => Promise; /** Memoize. */ export declare function memoize(fn: (...args: Args) => Result, keyHasher: (...args: Args) => string): (...args: Args) => Result; /** * FNV-1a hash algorithm for fast, framed cache key generation. * 10-15x faster than JSON.stringify() and uses 70-80% less memory. */ export declare function simpleHash(...values: unknown[]): string; //# sourceMappingURL=memoize.d.ts.map