import { ChildContentRequest, Content, ContentDelete, ContentDeleteRequest, ContentDeleteResponse, ContentDetailRequest, ContentDownloadRequest, ContentExportRequest, ContentExportResponse, ContentFeedbackService, ContentImportRequest, ContentImportResponse, ContentMarkerRequest, ContentRequest, ContentSearchCriteria, ContentSearchResult, ContentService, ContentSpaceUsageSummaryRequest, ContentSpaceUsageSummaryResponse, EcarImportRequest, HierarchyInfo, RelevantContentRequest, RelevantContentResponsePlayer, SearchResponse } from '..'; import { Observable } from 'rxjs'; import { ApiRequestHandler, ApiService } from '../../api'; import { ProfileService } from '../../profile'; import { DbService } from '../../db'; import { FileService } from '../../util/file/def/file-service'; import { ZipService } from '../../util/zip/def/zip-service'; import { TelemetryService } from '../../telemetry'; import { SearchRequest } from '../def/search-request'; import { DownloadService } from '../../util/download'; import { DownloadCompleteDelegate } from '../../util/download/def/download-complete-delegate'; import { EventsBusService } from '../../events-bus'; import { SharedPreferences } from '../../util/shared-preferences'; import { CachedItemStore } from '../../key-value-store'; import { SdkServiceOnInitDelegate } from '../../sdk-service-on-init-delegate'; import { Container } from 'inversify'; import { SdkConfig } from '../../sdk-config'; import { DeviceInfo } from '../../util/device'; import { AppInfo } from '../../util/app'; import { ContentAggregator } from '../handlers/content-aggregator'; import { FormService } from '../../form'; import { CourseService } from '../../course'; import { NetworkInfoService } from '../../util/network'; import { StorageService } from '../../storage/def/storage-service'; export declare class ContentServiceImpl implements ContentService, DownloadCompleteDelegate, SdkServiceOnInitDelegate { private sdkConfig; private apiService; private dbService; private profileService; private fileService; private zipService; private deviceInfo; private telemetryService; private contentFeedbackService; private downloadService; private sharedPreferences; private eventsBusService; private cachedItemStore; private appInfo; private networkInfoService; private container; private storageService; private static readonly DOWNLOAD_DIR_NAME; private static readonly KEY_IS_UPDATE_SIZE_ON_DEVICE_SUCCESSFUL; private static readonly KEY_CONTENT_DELETE_REQUEST_LIST; private readonly getContentDetailsHandler; private readonly getContentHeirarchyHandler; private readonly contentServiceConfig; private readonly appConfig; private readonly questionSetFileReadHandler; private readonly getChildQuestionSetHandler; private contentDeleteRequestSet; private contentUpdateSizeOnDeviceTimeoutRef; constructor(sdkConfig: SdkConfig, apiService: ApiService, dbService: DbService, profileService: ProfileService, fileService: FileService, zipService: ZipService, deviceInfo: DeviceInfo, telemetryService: TelemetryService, contentFeedbackService: ContentFeedbackService, downloadService: DownloadService, sharedPreferences: SharedPreferences, eventsBusService: EventsBusService, cachedItemStore: CachedItemStore, appInfo: AppInfo, networkInfoService: NetworkInfoService, container: Container, storageService: StorageService); onInit(): Observable; getContentDetails(request: ContentDetailRequest): Observable; getContentHeirarchy(request: ContentDetailRequest): Observable; getContents(request: ContentRequest): Observable; cancelImport(contentId: string): Observable; deleteContent(contentDeleteRequest: ContentDeleteRequest): Observable; enqueueContentDelete(contentDeleteRequest: ContentDeleteRequest): Observable; clearContentDeleteQueue(): Observable; getContentDeleteQueue(): Observable; exportContent(contentExportRequest: ContentExportRequest): Observable; getChildContents(childContentRequest: ChildContentRequest): Observable; getDownloadState(): Promise; importContent(contentImportRequest: ContentImportRequest): Observable; importEcar(ecarImportRequest: EcarImportRequest): Observable; nextContent(hierarchyInfo: HierarchyInfo[], currentContentIdentifier: string, shouldConvertBasePath?: boolean): Observable; prevContent(hierarchyInfo: HierarchyInfo[], currentContentIdentifier: string, shouldConvertBasePath?: boolean): Observable; getRelevantContent(request: RelevantContentRequest): Observable; subscribeForImportStatus(contentId: string): Observable; searchContent(contentSearchCriteria: ContentSearchCriteria, request?: { [key: string]: any; }, apiHandler?: ApiRequestHandler, isFromContentAggregator?: boolean): Observable; cancelDownload(contentId: string): Observable; setContentMarker(contentMarkerRequest: ContentMarkerRequest): Observable; onDownloadCompletion(request: ContentDownloadRequest): Observable; getContentSpaceUsageSummary(contentSpaceUsageSummaryRequest: ContentSpaceUsageSummaryRequest): Observable; buildContentAggregator(formService: FormService, courseService: CourseService, profileService: ProfileService): ContentAggregator; getQuestionList(questionIds: string[], parentId?: any): Observable; getQuestionSetHierarchy(data: any): Observable; getQuestionSetRead(contentId: string, params?: any): Observable; getQuestionSetChildren(questionSetId: string): Promise; formatSearchCriteria(requestMap: { [key: string]: any; }): ContentSearchCriteria; private cleanupContent; private getMimeType; private handleContentDeleteRequestSetChanges; private handleUpdateSizeOnDeviceFail; private get contentServiceDelegate(); downloadTranscriptFile(transcriptReq: any): Promise; createTranscriptDir(req: any, dataDirectory: any): Promise; downloadTranscript(downloadRequest: any): Observable<{ path: string; }>; private copyFile; private deleteFolder; }