import { AfterViewInit, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { ConfigurationsService, EventService, UtilityService } from '@sunbird-cb/utils-v2';
import { Subscription } from 'rxjs';
import { LoadCheckService } from '../../../services/load-check.service';
import { MatLegacyTabGroup as MatTabGroup, MatLegacyTabChangeEvent as MatTabChangeEvent } from '@angular/material/legacy-tabs';
import { NsDiscussionV2 } from '@sunbird-cb/discussion-v2';
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
import { AppTocService } from '../../../services/app-toc.service';
import { ActionService } from '../../../services/action.service';
import { ViewerDataService } from '../../../services/viewer-data.service';
import { MatTab } from '@angular/material/tabs';
import { SamuhikCharchaService } from '../../../_services/samuhik-charcha.service';
import { NsContent } from '../../../_collection-api';
import * as i0 from "@angular/core";
export declare class ContentTocComponent implements OnInit, AfterViewInit, OnChanges {
    private route;
    private utilityService;
    private loadCheckService;
    private configService;
    dialog: MatDialog;
    tocSvc: AppTocService;
    private actionSVC;
    private router;
    private eventSvc;
    private viewerDataSvc;
    private samuhikCharchaSvc;
    private environment;
    tabChangeValue: any;
    content: any;
    contentReadData: any;
    initialRouteData: any;
    changeTab: boolean;
    baseContentReadData: any;
    routeSubscription: Subscription | null;
    forPreview: boolean;
    contentTabFlag: boolean;
    resumeData: any | null;
    batchData: /**NsContent.IBatchListResponse */ any | null;
    skeletonLoader: boolean;
    tocStructure: any;
    pathSet: any;
    fromViewer: boolean;
    hierarchyMapData: any;
    tabElement: MatTabGroup;
    tabs: QueryList<MatTab>;
    condition: any;
    kparray: any;
    selectedBatchData: any;
    config: any;
    componentName: string;
    isEnrolled: boolean;
    playResourceId: string;
    sideNavBarOpened: boolean;
    languageList: any[];
    lockCertificate: boolean;
    fromMDO: boolean;
    playResumeForAI: EventEmitter<any>;
    enrollUserToAI: EventEmitter<any>;
    trigerCompletionSurveyForm: EventEmitter<boolean>;
    resumeContent: EventEmitter<void>;
    commentId?: string;
    sticky: boolean;
    menuPosition: any;
    isMobile: boolean;
    selectedTabIndex: number;
    discussWidgetData: NsDiscussionV2.ICommentWidgetData;
    teacherNotesFlag: boolean;
    referenceNotesFlag: boolean;
    viewerPage: boolean;
    resumeDataLink: any;
    enableAITutorFlag: boolean;
    enableTranscriptionFlag: boolean;
    courseCategory: typeof NsContent.ECourseCategory;
    subTitles$: Subscription | null;
    resourceIdentifier: any;
    resourceIdentifier$: Subscription | null;
    subTitles: any;
    keywordToHighlight: any;
    highlightCondition: boolean;
    vttLangArr: any;
    transcriptionActiveLanguage: string;
    defaultTranscriptLanguage: string;
    transriptionLanguageSub: Subscription | null;
    selectedTranscriptionStyle: any;
    fromAITutor: boolean;
    totalResource: number;
    scormAssessmentCount: number;
    showAITutorPopup: boolean;
    fromAISelectedTabIndex: boolean;
    isMobileForAI: boolean;
    transcriptActiveLanguageText: string;
    showAssignmentsTab: boolean;
    enableSamuhikCharchaTab: boolean;
    samuhikConfig: any;
    constructor(route: ActivatedRoute, utilityService: UtilityService, loadCheckService: LoadCheckService, configService: ConfigurationsService, dialog: MatDialog, tocSvc: AppTocService, actionSVC: ActionService, router: Router, eventSvc: EventService, viewerDataSvc: ViewerDataService, samuhikCharchaSvc: SamuhikCharchaService, environment: any);
    ngOnInit(): void;
    ngAfterViewInit(): void;
    get getCurrentTimeInUTC(): string;
    private getSamuhikConfig;
    ngOnChanges(changes: SimpleChanges): Promise<void>;
    handleScroll(): void;
    handleTabChange(event: MatTabChangeEvent): void;
    showAiTutorConfirmPopup(): void;
    generateResumeDataLinkNew(): void;
    private getResumeDataFromList;
    getBatchId(): string;
    raiseAIPopupStartTelemetry(): void;
    raiseAIPopupEndTelemetry(): void;
    raiseAIPopupInteractTelemetry(): void;
    enrollUserForAITutor(): void;
    parseVTT(): Promise<void>;
    renderSelectedLanguageTranscription(_langvalue: any): Promise<void>;
    openSurveyFormPopup(event: boolean): void;
    playFromSlot(subtitle: any): void;
    formatMsToVttTime(ms: number): string;
    onlyscormAssessmentExists(data: any, key: any, value: any): boolean;
    raiseTranscriptionTabStartTelemetry(): void;
    raiseTranscriptionTabInteractTelemetry(): void;
    raiseTranscriptionTabStopTelemetry(): void;
    raiseTranscriptionLanguageStartTelemetry(): void;
    raiseTranscriptionLanguageInteractTelemetry(): void;
    raiseTranscriptionLanguageStopTelemetry(): void;
    closeAIPopup(event: any): void;
    ngOnDestroy(): void;
    clearCommentIdFromUrl(): void;
    resumeContentCall(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ContentTocComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ContentTocComponent, "ws-widget-content-toc", never, { "content": { "alias": "content"; "required": false; }; "contentReadData": { "alias": "contentReadData"; "required": false; }; "initialRouteData": { "alias": "initialRouteData"; "required": false; }; "changeTab": { "alias": "changeTab"; "required": false; }; "baseContentReadData": { "alias": "baseContentReadData"; "required": false; }; "forPreview": { "alias": "forPreview"; "required": false; }; "contentTabFlag": { "alias": "contentTabFlag"; "required": false; }; "resumeData": { "alias": "resumeData"; "required": false; }; "batchData": { "alias": "batchData"; "required": false; }; "skeletonLoader": { "alias": "skeletonLoader"; "required": false; }; "tocStructure": { "alias": "tocStructure"; "required": false; }; "pathSet": { "alias": "pathSet"; "required": false; }; "fromViewer": { "alias": "fromViewer"; "required": false; }; "hierarchyMapData": { "alias": "hierarchyMapData"; "required": false; }; "condition": { "alias": "condition"; "required": false; }; "kparray": { "alias": "kparray"; "required": false; }; "selectedBatchData": { "alias": "selectedBatchData"; "required": false; }; "config": { "alias": "config"; "required": false; }; "componentName": { "alias": "componentName"; "required": false; }; "isEnrolled": { "alias": "isEnrolled"; "required": false; }; "playResourceId": { "alias": "playResourceId"; "required": false; }; "sideNavBarOpened": { "alias": "sideNavBarOpened"; "required": false; }; "languageList": { "alias": "languageList"; "required": false; }; "lockCertificate": { "alias": "lockCertificate"; "required": false; }; "fromMDO": { "alias": "fromMDO"; "required": false; }; }, { "playResumeForAI": "playResumeForAI"; "enrollUserToAI": "enrollUserToAI"; "trigerCompletionSurveyForm": "trigerCompletionSurveyForm"; "resumeContent": "resumeContent"; }, never, never, false, never>;
}
//# sourceMappingURL=content-toc.component.d.ts.map