import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { TranslateService } from '@ngx-translate/core';
import { CommonMethodsService } from '@sunbird-cb/consumption';
import { ConfigurationsService, EventService, MultilingualTranslationsService, WidgetContentService } from '@sunbird-cb/utils-v2';
import { LoaderService } from '../../services/loader.service';
import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
import { MatDialog } from '@angular/material/dialog';
import { CertificateService } from '../../services/certificate.service';
import { NsDiscussionV2 } from '@sunbird-cb/discussion-v2';
import { NetCoreService } from '../../services/netcore.service';
import * as i0 from "@angular/core";
export declare class AppTocCiosHomeComponent implements OnInit, AfterViewInit {
    private route;
    private commonSvc;
    private translate;
    private configSvc;
    private events;
    private langtranslations;
    private contentSvc;
    private certSvc;
    loader: LoaderService;
    private matDialog;
    snackBar: MatSnackBar;
    netCoreService: NetCoreService;
    private environment;
    commentId?: string;
    skeletonLoader: boolean;
    extContentReadData: any;
    userExtCourseEnroll: any;
    downloadCertificateLoading: boolean;
    forPreview: any;
    extContentAvailable: boolean;
    canEnroll: boolean;
    enrollValidationLoading: boolean;
    rcElem: {
        offSetTop: number;
        BottomPos: number;
    };
    contentLink: any;
    rcElement: ElementRef;
    scrollLimit: any;
    scrolled: boolean | undefined;
    isMobile: boolean;
    config: any;
    widgetData: any;
    enableShare: boolean;
    rootOrgId: any;
    currentLang: any;
    discussWidgetData: NsDiscussionV2.ICommentWidgetData;
    showProviderTips: boolean;
    fromMDO: boolean;
    handleScroll(): void;
    constructor(route: ActivatedRoute, commonSvc: CommonMethodsService, translate: TranslateService, configSvc: ConfigurationsService, events: EventService, langtranslations: MultilingualTranslationsService, contentSvc: WidgetContentService, certSvc: CertificateService, loader: LoaderService, matDialog: MatDialog, snackBar: MatSnackBar, netCoreService: NetCoreService, environment: any);
    ngOnInit(): void;
    initializeDiscussData(): void;
    handleCapitalize(str: string, type?: string): string;
    translateLabels(label: string, type: any): any;
    ngAfterViewInit(): void;
    redirectToContent(contentData: any): string;
    replaceText(str: any, replaceTxt: any): any;
    formatcourseProviders(providers: any[]): string;
    enRollToExtCourse(content: any): Promise<void>;
    callConsentApi(content: any): void;
    private proceedWithEnrollment;
    getUserContentEnroll(contentId: any): Promise<void>;
    captureRedirectTelemetry(content: any): void;
    raiseTelemtryStartEvent(): void;
    telemetryToCaptureInteract(contentId: any, subType: any, id: any): void;
    raiseTelemtryEndEvent(): void;
    downloadCert(): Promise<void>;
    onClickOfShare(): void;
    resetEnableShare(_eventData: any): void;
    contentViewEventForNetCore(eventType: any): void;
    secondsToTime(d: any): string;
    clearCommentIdFromUrl(): void;
    private validateEnrollmentEligibility;
    showBadgeIcon(): boolean;
    get showEnroll(): boolean;
    get showRedirect(): boolean;
    static ɵfac: i0.ɵɵFactoryDeclaration<AppTocCiosHomeComponent, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AppTocCiosHomeComponent, "ws-app-app-toc-cios-home", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=app-toc-cios-home.component.d.ts.map