import { HttpClient } from '@angular/common/http';
import { EventEmitter } from '@angular/core';
import { PlayerConfig, Transcripts } from '../playerInterfaces';
import { SunbirdVideoPlayerService } from '../sunbird-video-player.service';
import { UtilService } from './util.service';
import { QuestionCursor } from '@project-sunbird/sunbird-quml-player';
import * as i0 from "@angular/core";
export declare class ViewerService {
    private videoPlayerService;
    private utilService;
    private http;
    questionCursor: QuestionCursor;
    endPageSeen: boolean;
    timeSpent: string;
    private version;
    playerEvent: EventEmitter<any>;
    contentName: string;
    showDownloadPopup: boolean;
    streamingUrl: string;
    mimeType: string;
    artifactMimeType: string;
    userName: string;
    metaData: any;
    PlayerLoadStartedAt: number;
    totalLength: any;
    currentlength: any;
    totalSeekedLength: number;
    artifactUrl: any;
    visitedLength: number;
    uniqueVisitedLength: any;
    sidebarMenuEvent: EventEmitter<any>;
    traceId: string;
    isAvailableLocally: boolean;
    interceptionPoints: any;
    interceptionResponses: any;
    showScore: boolean;
    scoreObtained: any;
    maxScore: number;
    playerInstance: any;
    contentMap: {};
    playerTimeSlots: any[];
    isEndEventRaised: boolean;
    transcripts: Transcripts;
    playBitStartTime: number;
    playBitEndTime: number;
    constructor(videoPlayerService: SunbirdVideoPlayerService, utilService: UtilService, http: HttpClient, questionCursor: QuestionCursor);
    initialize({ context, config, metadata }: PlayerConfig): void;
    handleTranscriptsData(selectedTranscripts: any): Transcripts;
    getPlayerOptions(): Promise<{
        src: any;
        type: string;
    }[]>;
    getMarkers(): any;
    getQuestionSet(identifier: any): import("rxjs").Observable<any>;
    preFetchContent(): void;
    getUniqueVisitedLength(): number;
    getVisitedLength(): number;
    getNextMarker(): any;
    raiseStartEvent(event: any): void;
    calculateScore(): void;
    raiseEndEvent(isOnPlayInterrupt?: boolean): void;
    raiseHeartBeatEvent(type: string, extraValues?: any): void;
    raiseImpressionEvent(pageId: string, cdata?: any): void;
    raiseExceptionLog(errorCode: string, errorType: string, stacktrace: any, traceId: any): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ViewerService, [null, null, null, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ViewerService>;
}
