import type { Cache, CacheOptions } from './memoization.types'; export declare const createCache: (options?: CacheOptions) => Cache; export declare const memoize: (functionToMemoize: (...args: TArgs) => TReturn, options?: CacheOptions) => ((...args: TArgs) => TReturn); export declare const memoizeAsync: (asyncFunction: (...args: TArgs) => Promise, options?: CacheOptions) => ((...args: TArgs) => Promise);