import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ConfigurationsService } from './configurations.service'; import { NsContentStripMultiple } from './content-strip-multiple.model'; import { NsContent } from './widget-content.model'; import { NSSearch } from './widget-search.model'; import * as i0 from "@angular/core"; export declare class WidgetContentService { private http; private configSvc; constructor(http: HttpClient, configSvc: ConfigurationsService); fetchMarkAsCompleteMeta(identifier: string): Promise; fetchContent(contentId: string, hierarchyType?: 'all' | 'minimal' | 'detail', additionalFields?: string[]): Observable; fetchAuthoringContent(contentId: string): Observable; fetchMultipleContent(ids: string[]): Observable; fetchCollectionHierarchy(type: string, id: string, pageNumber?: number, pageSize?: number): Observable; fetchContentLikes(contentIds: { content_id: string[]; }): Promise<{ [identifier: string]: number; }>; fetchContentRatings(contentIds: { contentIds: string[]; }): Promise; fetchContentHistory(contentId: string): Observable; continueLearning(id: string, collectionId?: string, collectionType?: string): Promise; saveContinueLearning(content: NsContent.IViewerContinueLearningRequest): Observable; setS3Cookie(_contentId: string): Observable; setS3ImageCookie(): Observable; fetchManifest(url: string): Observable; fetchWebModuleContent(url: string): Observable; search(req: NSSearch.ISearchRequest): Observable; searchRegionRecommendation(req: NSSearch.ISearchOrgRegionRecommendationRequest): Observable; searchV6(req: NSSearch.ISearchV6Request): Observable; fetchContentRating(contentId: string): Observable<{ rating: number; }>; deleteContentRating(contentId: string): Observable; addContentRating(contentId: string, data: { rating: number; }): Observable; getFirstChildInHierarchy(content: NsContent.IContent): NsContent.IContent; getRegistrationStatus(source: string): Promise<{ hasAccess: boolean; registrationUrl?: string; }>; fetchConfig(url: string): Observable; fetchExtUserContentEnroll(contentId: string): Observable; extContentEnroll(requestBody: any): Observable; downloadCert(certId: any): Observable; downloadCertV2(payload: any): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }