import { type ReferenceManager } from "./reference.js"; import type { CacheData, CacheKey, IndexCache, PackageManager } from "./types/index.js"; export interface ExtendedCache extends IndexCache { referenceManager: ReferenceManager; } export declare const computeCacheKey: (packageManager: PackageManager, packages: string[]) => CacheKey; export declare const cacheRecordPaths: (pwd: string, packageManager: PackageManager, packages: string[]) => { cacheKey: CacheKey; cacheRecordPath: string; cacheIndexFile: string; npmPackagePath: string; npmRootPackageJsonFile: string; }; export declare const calculatePackageLockHash: (npmPackagePath: string) => Promise; export declare const createCacheRecord: () => ExtendedCache; export declare const loadCacheRecordFromDisk: (pwd: string, cacheKey: CacheKey) => Promise; export declare const saveCacheRecordToDisk: (cache: ExtendedCache, pwd: string, packageManager: PackageManager, packages: string[]) => Promise; export declare const flushCache: (workingDir: string) => Promise; //# sourceMappingURL=cache.d.ts.map