import { Context } from 'egg'; import type { RegistryManagerService } from '../../../core/service/RegistryManagerService.ts'; import { AbstractController } from '../AbstractController.ts'; export declare class DownloadPackageVersionTarController extends AbstractController { private packageManagerService; registryManagerService: RegistryManagerService; private proxyCacheService; private packageSyncerService; private nfsAdapter; downloadForOptions(ctx: Context): Promise; download(ctx: Context, fullname: string, filenameWithVersion: string): Promise; deprecatedDownload(ctx: Context, fullname: string, fullnameWithVersion: string): Promise; private getTgzProxyStream; downloadVerdaccioPathStyleorOptions(ctx: Context): Promise; downloadVerdaccioPathStyle(ctx: Context, fullname: string, filenameWithVersion: string): Promise; }