/** * npm registry client for fetching package tarballs */ export declare function getCachedTarball(packageName: string, version: string): Promise; export declare function cacheTarball(packageName: string, version: string, data: Buffer): Promise; export interface FetchResult { tarballPath: string; fromCache: boolean; } /** * Fetch a package tarball from npm registry * Uses cache if available */ export declare function fetchPackageTarball(packageName: string, version: string): Promise; /** * Clear the tarball cache */ export declare function clearTarballCache(): Promise; /** * Get tarball cache status */ export declare function getTarballCacheStatus(): Promise<{ cacheDir: string; cachedPackages: number; totalSize: number; }>; //# sourceMappingURL=npm.d.ts.map