import { UnaryFunction } from 'rxjs/interfaces'; import { Logger } from './../../api'; import { BiFunction } from './../consumers/consumer'; export declare type CacheCallback = UnaryFunction; export declare type CacheAccessor = BiFunction, V>; /** * Constructs a new cache * * @param aTimeout timeout * @param aMaxValues maximum cache entries * * @return the accessor function */ declare const _createCache: (aTimeout?: number, aMaxValues?: number, aLogger?: Logger) => BiFunction, V>; export { _createCache as createCache };