import { FunctionPromiseIdentity, PromiseFn } from '../types'; declare type CacheOptions = { ttl?: number; maxEntries?: number; }; declare function createCache(options?: CacheOptions): (fn: Fn) => FunctionPromiseIdentity; export { createCache };