export declare function createStagingDir(dest: string): string; export declare function commitStagingDir(staging: string, dest: string): boolean; export declare function sweepStaleStagingDirs(): void; export declare let show: () => string; export declare let getDepCacheDir: (cacheName: string) => string; export declare let isDepCached: (cacheName: string) => boolean; export declare function getDepCacheName(name: string, version: string): string; export declare function getMopsDepCacheName(name: string, version: string): string; export declare function getGithubDepCacheName(name: string, repo: string): string; export declare let copyCache: (cacheName: string, dest: string) => Promise; export declare let cacheSize: () => Promise; export declare function assertGlobalCacheDir(dir: string, cacheRoot?: string): void; type CleanCacheOptions = { global?: boolean; }; export declare let cleanCache: ({ global }?: CleanCacheOptions) => Promise; export {};