/** * Creates a cache instance base on passed object. * Return instance has 3 methods: get, set, has * * * * @param {Function} obj - object that will be used as cache * @return {{get; set; has}} * @example * const cache = createCache(); * cache.set('a', 5); * cache.has('a'); // true * cache.get('a'); // 5 */ declare const _default: (obj?: any) => { get(key: any): any; set(key: any, value: any): any; has(key: any): boolean; }; export default _default;