UNPKG

697 BTypeScriptView Raw
1type CacheKey = 'eTag' | 'lastChecked' | 'latestVersion' | 'dependencies' | 'lastUsedIOSDeviceId';
2/**
3 * Returns the path string of `$HOME/.react-native-cli`.
4 *
5 * In case it doesn't exist, it will be created.
6 */
7declare function getCacheRootPath(): string;
8declare function removeProjectCache(name: string): void;
9declare function get(name: string, key: CacheKey): string | undefined;
10declare function set(name: string, key: CacheKey, value: string): void;
11declare const _default: {
12 get: typeof get;
13 set: typeof set;
14 removeProjectCache: typeof removeProjectCache;
15 getCacheRootPath: typeof getCacheRootPath;
16};
17export default _default;
18//# sourceMappingURL=cacheManager.d.ts.map
\No newline at end of file