import { DownloadState, DownloadType } from '@/domain/models/download.interface'; import { HttpService } from '@nestjs/axios'; import { EventEmitter2 } from '@nestjs/event-emitter'; export declare class DownloadManagerService { private readonly httpService; private readonly eventEmitter; private allDownloadStates; private abortControllers; private timeouts; constructor(httpService: HttpService, eventEmitter: EventEmitter2); abortDownload(downloadId: string): Promise; submitDownloadRequest(downloadId: string, title: string, downloadType: DownloadType, urlToDestination: Record, finishedCallback?: () => Promise, inSequence?: boolean): Promise; private downloadFile; getDownloadStates(): DownloadState[]; private handleError; private deleteDownloadStateFiles; }