import { HttpClient } from '@angular/common/http';
import { ConfigurationsService } from '@sunbird-cb/utils-v2';
import { Observable, BehaviorSubject } from 'rxjs';
import { NsContent } from './widget-content.model';
import { ActivatedRoute } from '@angular/router';
import { NSSearch } from '@sunbird-cb/utils-v2/lib/services/widget-search.model';
import { NsContentStripMultiple } from '@sunbird-cb/utils-v2/lib/services/content-strip-multiple.model';
import * as i0 from "@angular/core";
export declare class WidgetContentService {
    private http;
    private configSvc;
    private activatedRoute;
    constructor(http: HttpClient, configSvc: ConfigurationsService, activatedRoute: ActivatedRoute);
    tocConfigData: any;
    tocConfigData$: any;
    currentMetaData: NsContent.IContent;
    currentContentReadMetaData: NsContent.IContent;
    currentBatchEnrollmentList: NsContent.ICourse[];
    programChildCourseResumeData: BehaviorSubject<any>;
    programChildCourseResumeData$: Observable<any>;
    languageMapProgress: any;
    isResource(primaryCategory: string): boolean;
    fetchMarkAsCompleteMeta(identifier: string): Promise<any>;
    updateTocConfig(data: any): void;
    fetchContent(contentId: string, hierarchyType?: 'all' | 'minimal' | 'detail', _additionalFields?: string[], primaryCategory?: string | null): Observable<NsContent.IContent>;
    fetchAuthoringContent(contentId: string, apiType?: string): Observable<any>;
    fetchMultipleContent(ids: string[]): Observable<NsContent.IContent[]>;
    fetchCollectionHierarchy(type: string, id: string, pageNumber?: number, pageSize?: number): Observable<NsContent.ICollectionHierarchyResponse>;
    fetchBlendedCourse(): void;
    fetchCourseBatches(req: any): Observable<NsContent.IBatchListResponse>;
    fetchCourseBatch(batchId: string): Observable<NsContent.IContinueLearningData>;
    autoAssignBatchApi(identifier: any, language?: any): Observable<NsContent.IBatchListResponse>;
    autoEnrollLP(identifier: any): Observable<NsContent.IBatchListResponse>;
    autoAssignCuratedBatchApi(request: any, programType: any): Observable<NsContent.IBatchListResponse>;
    enrollUserToBatch(req: any): Promise<Object>;
    enrollAndUnenrollUserToBatchWF(req: any, type: any): Promise<Object>;
    fetchBlendedUserWF(req: any): Promise<Object>;
    fetchBlendedUserCOUNT(req: any): Promise<Object>;
    fetchContentLikes(contentIds: {
        content_id: string[];
    }): Promise<{
        [identifier: string]: number;
    }>;
    fetchContentRatings(contentIds: {
        contentIds: string[];
    }): Promise<unknown>;
    fetchContentHistory(contentId: string): Observable<NsContent.IContinueLearningData>;
    fetchContentHistoryV2(req: NsContent.IContinueLearningDataReq): Observable<any>;
    setProgramChildResumeData(contentList: any, courseId: any): void;
    continueLearning(id: string, collectionId?: string, collectionType?: string): Promise<any>;
    saveContinueLearning(content: NsContent.IViewerContinueLearningRequest): Observable<any>;
    setS3Cookie(_contentId: string): Observable<any>;
    setS3ImageCookie(): Observable<any>;
    fetchManifest(url: string): Observable<any>;
    fetchWebModuleContent(url: string): Observable<any>;
    search(req: NSSearch.ISearchRequest): Observable<NSSearch.ISearchApiResult>;
    searchRegionRecommendation(req: NSSearch.ISearchOrgRegionRecommendationRequest): Observable<NsContentStripMultiple.IContentStripResponseApi>;
    searchV6(req: NSSearch.ISearchV6Request): Observable<any>;
    searchRelatedCBPV6(req: any): Observable<any>;
    fetchContentRating(contentId: string): Observable<{
        rating: number;
    }>;
    deleteContentRating(contentId: string): Observable<any>;
    addContentRating(contentId: string, data: {
        rating: number;
    }): Observable<any>;
    getFirstChildInHierarchy(content: NsContent.IContent): NsContent.IContent;
    getRegistrationStatus(source: string): Promise<{
        hasAccess: boolean;
        registrationUrl?: string;
    }>;
    fetchConfig(url: string): Observable<any>;
    addCertTemplate(body: any): Observable<any>;
    issueCert(body: any): Observable<any>;
    downloadCert(certId: any): Observable<any>;
    trendingContentSearch(req: any): Observable<NsContent.IContent>;
    getKarmaPoitns(limit: number, offset: any): Observable<boolean | Object>;
    fetchProgramContent(contentId: string[]): Observable<NsContent.IContent[]>;
    fetchExternalContent(contentId: string[]): Observable<NsContent.IContent[]>;
    fetchExternalPublicContent(partenerName: any, contentId: any): Observable<NsContent.IContent[]>;
    fetchExtUserContentEnroll(contentId: string): Observable<any>;
    extContentEnroll(requestBody: any): Observable<any>;
    getCourseKarmaPoints(request: any): Observable<any>;
    claimKarmapoints(request: any): Observable<any>;
    userKarmaPoints(): Observable<any>;
    getEnrolledData(doId: string): any;
    getResourseLink(content: any): Promise<any>;
    checkForDataToFormUrl(content: any, enrollData: any): Promise<any>;
    getResourseDataWithData(content: any, resourseId: any, mimeType: any): any;
    gotoTocPage(content: any): any;
    isBatchInProgress(batchData: any): boolean;
    getPreAssessmentFirstChildInHierarchy(content: NsContent.IContent): NsContent.IContent;
    fetchHierarchyContent(contentId: string, hierarchyType?: 'all' | 'minimal' | 'detail'): Observable<NsContent.IContent>;
    fetchContentData(contentId: string): Observable<NsContent.IContent>;
    getUserEnrollmentData(userId: string, request: any): Observable<{
        data: any;
        error: any;
    }>;
    static ɵfac: i0.ɵɵFactoryDeclaration<WidgetContentService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<WidgetContentService>;
}
//# sourceMappingURL=widget-content.service.d.ts.map