import { DownloadCancelRequest, DownloadRequest, DownloadService, TrackDownloadRequest } from '..'; import { Observable } from 'rxjs'; import { SdkServiceOnInitDelegate } from '../../../sdk-service-on-init-delegate'; import { EventsBusService } from '../../../events-bus'; import { SharedPreferences } from '../../shared-preferences'; import { DownloadCompleteDelegate } from '../def/download-complete-delegate'; import { ContentDeleteListener } from '../../../content/def/content-delete-listener'; import { DownloadTracking } from '../def/response'; export declare class DownloadServiceImpl implements DownloadService, SdkServiceOnInitDelegate, ContentDeleteListener { private eventsBusService; private sharedPreferences; private static readonly KEY_TO_DOWNLOAD_LIST; private static readonly DOWNLOAD_DIR_NAME; private currentDownloadRequest$; private downloadCompleteDelegate?; private sharedPreferencesSetCollection; private completedDownloadRequestsCache; constructor(eventsBusService: EventsBusService, sharedPreferences: SharedPreferences); private static generateDownloadStartTelemetry; private static generateDownloadCompleteTelemetry; private static generateDownloadCancelTelemetry; onInit(): Observable; download(downloadRequests: DownloadRequest[]): Observable; cancel(downloadCancelRequest: DownloadCancelRequest, generateTelemetry?: boolean): Observable; cancelAll(): Observable; registerOnDownloadCompleteDelegate(downloadCompleteDelegate: DownloadCompleteDelegate): void; getActiveDownloadRequests(): Observable; private switchToNextDownloadRequest; private addToDownloadList; private removeFromDownloadList; private removeAllFromDownloadList; private handleDownloadCompletion; private emitProgressInEventBus; private getDownloadProgress; private listenForDownloadProgressChanges; trackDownloads(downloadStatRequest: TrackDownloadRequest): Observable; onContentDelete(identifier: string): void; }