import CacheItem from './CacheItem'; type Data = Map; export default class Cache { private file; private data; constructor(dir: string); add: (id: string, data: CacheItem["data"]) => Data; remove: (id: string) => boolean; get: (id: string) => CacheItem | undefined; has: (id: string) => boolean; persist: () => void; } export {};