import { AccessControlService } from '../../services/access-control.service';
import { OnDestroy, OnInit } from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { ActivatedRoute } from '@angular/router';
import { ConfigurationsService } from '@sunbird-cb/utils-v2';
import { NsContent } from '../../_services/widget-content.model';
import { Observable, Subscription } from 'rxjs';
import { NsAppToc } from '../../models/app-toc.model';
import { AppTocService } from '../../services/app-toc.service';
import * as i0 from "@angular/core";
export declare class AppTocOverviewComponent implements OnInit, OnDestroy {
    private route;
    private tocSharedSvc;
    private configSvc;
    private domSanitizer;
    private authAccessControlSvc;
    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;
    forPreview: boolean;
    tocConfig: any;
    contentParents: {
        [key: string]: NsAppToc.IContentParentResponse[];
    };
    objKeys: {
        (o: object): string[];
        (o: {}): string[];
    };
    constructor(route: ActivatedRoute, tocSharedSvc: AppTocService, configSvc: ConfigurationsService, domSanitizer: DomSanitizer, authAccessControlSvc: AccessControlService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    get showSubtitleOnBanner(): boolean;
    get showDescription(): boolean;
    private initData;
    getContentParent(): void;
    parseContentParent(content: NsAppToc.IContentParentResponse): void;
    resetAndFetchTocStructure(): void;
    private getTrainingCount;
    static ɵfac: i0.ɵɵFactoryDeclaration<AppTocOverviewComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AppTocOverviewComponent, "ws-app-app-toc-overview", never, { "forPreview": { "alias": "forPreview"; "required": false; }; }, {}, never, never, false, never>;
}
//# sourceMappingURL=app-toc-overview.component.d.ts.map