import { AfterViewChecked, AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { ConfigurationsService, EventService, UtilityService } from '@sunbird-cb/utils-v2';
import { RootService } from './../../../services/root.service';
import { WebSocketService } from './socket.service';
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
import { MatSnackBar as MatSnackbarNew } from '@angular/material/snack-bar';
import * as i0 from "@angular/core";
export declare class AiTutorComponent implements OnInit, AfterViewInit, AfterViewChecked, OnDestroy {
    private route;
    private configSvc;
    private eventSvc;
    private renderer;
    private chatbotService;
    private websocketService;
    private dialog;
    private matSnackBarNew;
    private utilitySvc;
    private router;
    from: string;
    content: any;
    userJourney: any[];
    showIcon: boolean;
    categories: any[];
    language: any[];
    currentFilter: string;
    selectedLaguage: string;
    responseData: any;
    userInfo: any;
    recomendedQns: any;
    questionsAndAns: any;
    userIcon: string;
    more: boolean;
    chatInformation: any;
    chatIssues: any;
    displayLoader: boolean;
    expanded: boolean;
    callText: string;
    emailText: string;
    searchQueryAItutor: any;
    initials: any;
    copiedIndex: number;
    circleColor: string;
    random: string;
    iGOTAITutorResultArr: any;
    maximize: boolean;
    localization: any;
    private colors;
    private randomcolors;
    aiTutorResult: any;
    private messageSubscription;
    messages: string[];
    inputMessage: string;
    aiTutorResultArr: any;
    cloneSearchQuery: string;
    jwtToken: string;
    isHubEnable: boolean;
    learningStyle: {
        title: string;
        subtitle: string;
    }[];
    selectedLearningStyle: any;
    resultFetch: boolean;
    authTokenHost: string;
    NoneSocketHost: string;
    SocraticeStyleHost: string;
    StorytellingHost: string;
    textArea: ElementRef<HTMLTextAreaElement>;
    closeAIPopup: EventEmitter<any>;
    containerHeight: number;
    isMobile: boolean;
    showAITutorPopup: boolean;
    chatId: string;
    environment: any;
    constructor(route: ActivatedRoute, configSvc: ConfigurationsService, eventSvc: EventService, renderer: Renderer2, chatbotService: RootService, websocketService: WebSocketService, dialog: MatDialog, matSnackBarNew: MatSnackbarNew, utilitySvc: UtilityService, environment: any, router: Router);
    ngOnInit(): void;
    ngAfterViewInit(): void;
    greetings(): any;
    getInfoText(label: string): any;
    showMore(): any;
    getData(): void;
    setDataToLocalStorage(data: any): void;
    initData(_getData: any): void;
    getQns(): void;
    selectLaguage(event: any): void;
    readFromLocalStorage(): void;
    goToBottom(): void;
    iconClick(type: string): void;
    toggleFilter(tab: string): void;
    selectedQuestion(question: any, data: any): void;
    pushData(msg: any): void;
    getuserjourney(tab: string): any[];
    getPriorityQuestion(priority: any): any[];
    showMoreQuestion(): void;
    showCategory(catItem: any): void;
    raiseCategotyTelemetry(catItem: string): void;
    raiseChatStartTelemetry(): void;
    raiseChatEndTelemetry(): void;
    raiseTemeletyInterat(idn: string): void;
    checkForAIQuestionResponse(): void;
    checkForApiCalls(): void;
    getCategories(): void;
    sortCategory(): any;
    getLanguages(): void;
    ngAfterViewChecked(): void;
    scrollToBottom(): void;
    clickOutside(): void;
    private disableScroll;
    private enableScroll;
    submitSearchQuery(textArea: HTMLTextAreaElement, event: any): boolean;
    sendAITutorMessage(): void;
    getAiTutorMessage(): void;
    aiTutorResultMessage(): void;
    redirectToResource(item: any): void;
    copyPath(item: any, cindex: any): void;
    redirectToToc(chat: any): void;
    splitParagraphByWords(paragraph: any, wordsPerChunk?: number): string;
    toggleShow(index: any, showType: any): void;
    get userInitials(): any;
    private createInititals;
    getLearningStyle(): void;
    raiseTelemetryForResource(item: any): void;
    sharePositiveContentRating(item: any, index: any, cindex: any): void;
    openAIFeedbackPopup(item: any, index: any, cindex: any): void;
    shareAIFeedback(item: any, result: any, index: any, cindex: any): void;
    sharePositiveContentRatingForAnswer(item: any, index: any): void;
    openAIFeedbackPopupForAnswer(item: any, index: any): void;
    shareAIForAnswerFeedback(item: any, result: any, index: any): void;
    callFromInternet(item: any, index: any): void;
    rejectFromInternet(index: any): void;
    ngOnDestroy(): void;
    resizeTextarea(textArea: HTMLTextAreaElement, _fromInput: any): void;
    resetTextAreaHeight(_textArea: HTMLTextAreaElement): void;
    closeAITutorPopup(): void;
    minimizeAITutor(): void;
    maximizeAITutor(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AiTutorComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AiTutorComponent, "ws-widget-ai-tutor", never, { "from": { "alias": "from"; "required": false; }; "content": { "alias": "content"; "required": false; }; "userJourney": { "alias": "userJourney"; "required": false; }; }, { "closeAIPopup": "closeAIPopup"; }, never, never, false, never>;
}
//# sourceMappingURL=ai-tutor.component.d.ts.map