import { OnDestroy, OnInit } from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { ActivatedRoute, Router } from '@angular/router';
import { NsContent } from '../../_services/widget-content.model';
import { WidgetContentService } from '../../_services/widget-content.service';
import { ConfigurationsService, NsPage } from '@sunbird-cb/utils-v2';
import { Observable, Subscription } from 'rxjs';
import { EditorService } from '../../services/editor.service';
import { NsAppToc } from '../../models/app-toc.model';
import { AppTocService } from '../../services/app-toc.service';
import * as i0 from "@angular/core";
export declare class KnowledgeArtifactDetailsComponent implements OnInit, OnDestroy {
    private route;
    private tocSharedSvc;
    private configSvc;
    private domSanitizer;
    private contentSvc;
    private editorSvc;
    private router;
    content: NsContent.IContent | null;
    routeSubscription: Subscription | null;
    viewMoreRelatedTopics: boolean;
    hasTocStructure: boolean;
    tocStructure: NsAppToc.ITocStructure | null;
    askAuthorEnabled: boolean;
    trainingLHubEnabled: boolean;
    trainingLHubCount$?: Observable<number>;
    body: SafeHtml | null;
    pageNavbar: Partial<NsPage.INavBackground>;
    isDownloadableDesktop: boolean;
    isDownloadableMobile: boolean;
    relatedResource: NsContent.IContentMinimal[] | null;
    fetchingRelatedResources: boolean;
    isAuthor: boolean;
    deletingContent: boolean;
    forPreview: boolean;
    constructor(route: ActivatedRoute, tocSharedSvc: AppTocService, configSvc: ConfigurationsService, domSanitizer: DomSanitizer, contentSvc: WidgetContentService, editorSvc: EditorService, router: Router);
    ngOnInit(): void;
    private checkIfEditEnabled;
    deleteContent(): void;
    ngOnDestroy(): void;
    get showSubtitleOnBanner(): boolean;
    get showDescription(): boolean;
    private initData;
    resetAndFetchTocStructure(): void;
    private getTrainingCount;
    get isGreyedImage(): boolean;
    get isLiveOrMarkForDeletion(): boolean;
    get isDownloadable(): boolean;
    download(): void;
    private setS3Cookie;
    static ɵfac: i0.ɵɵFactoryDeclaration<KnowledgeArtifactDetailsComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<KnowledgeArtifactDetailsComponent, "ws-app-knowledge-artifact-details", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=knowledge-artifact-details.component.d.ts.map