import { ChangeDetectorRef, OnInit, OnDestroy, ElementRef } from "@angular/core";
import { Router, ActivatedRoute } from "@angular/router";
import { GlobalStateService, PageInfoService } from "tango-app-ui-global";
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
import dayjs from "dayjs";
import "dayjs/locale/en";
import { FormBuilder, FormGroup } from "@angular/forms";
import { Observable, BehaviorSubject } from "rxjs";
import { TraxService } from "../../../services/trax.service";
import { EyeTestAuditService } from "../services/eye-test-audit.service";
import { ToastService } from "tango-app-ui-shared";
import { NgbModal, NgbTooltip } from "@ng-bootstrap/ng-bootstrap";
import * as i0 from "@angular/core";
export declare class EyeTestComponent implements OnInit, OnDestroy {
    private pageInfo;
    private fb;
    private traxService;
    private eyeService;
    private router;
    private cd;
    gs: GlobalStateService;
    private ts;
    private modalService;
    private route;
    private sanitizer;
    dayjs: typeof dayjs;
    eyeTestForm: FormGroup;
    selectedDateRange: any;
    selectedDate: any;
    isCustomDate: any;
    headerFilters: any;
    ClusterList: any;
    stores: any;
    clientData: any;
    private destroy$;
    groups: any;
    storeList: any[];
    noData: boolean;
    loading: boolean;
    eyeTestData: any;
    typeValue: any;
    type: any;
    auditType: any;
    dateType: any;
    typePercentageArray: any;
    nearAdditionArray: any;
    categoryArray: any;
    auditedDateAuditStatus: any;
    auditStatusArray: any;
    showEyeTest: boolean;
    constructor(pageInfo: PageInfoService, fb: FormBuilder, traxService: TraxService, eyeService: EyeTestAuditService, router: Router, cd: ChangeDetectorRef, gs: GlobalStateService, ts: ToastService, modalService: NgbModal, route: ActivatedRoute, sanitizer: DomSanitizer);
    headDate: any;
    headDateEnd: any;
    users: any;
    ngOnDestroy(): void;
    closeEyeTest(): void;
    RmListNew: any;
    storesNew: any;
    dataBackGet: any;
    auditStatusNew: any;
    complianceScoreArray: any;
    ngOnInit(): void;
    getAbsValue(value: number | null | undefined): number;
    loading1: boolean;
    getAllGroups1(event?: any): Observable<any>;
    getAllStores1(): Observable<any>;
    typeChange(event: any): void;
    dateTypeChange(event: any): void;
    auditTypeChange(event: any): void;
    typePercentageChange(event: any): void;
    typeAuditStatusChange(event: any): void;
    nearAdditionChange(event: any): void;
    categoryTypeChange(event: any): void;
    datechange(event: any): void;
    onStartDateChange(event: any): void;
    resetValidation(): void;
    selectedType: any;
    createForm(): void;
    ongroupSelect(event: any): void;
    onStoreSelect(event: any): void;
    searchValue: any;
    searchData(): void;
    paginationSizes: any[];
    pageSize: number;
    setPaginationSizes(): void;
    RmListData: any;
    keyType: any;
    rmEmail: any;
    eyeTestChatQuery: string;
    eyeTestAiMessage: string | null;
    showEyeTestAiMessage: boolean;
    readonly modelOptions: {
        label: string;
        value: string;
    }[];
    selectedModel: string;
    showPlusMenu: boolean;
    get selectedModelVersion(): string;
    selectModel(value: string): void;
    togglePlusMenu(): void;
    closePlusMenu(): void;
    onDocumentClick(e: MouseEvent): void;
    demoGrapics: any;
    typeVal(val: any, obj?: any): void;
    typeVal1(val: any, obj?: any): void;
    buildRequestData(params?: {
        isExport?: boolean;
        limit?: number;
        offset?: number;
    }): any;
    exportXLSX(): void;
    totalItems: any;
    offset: number;
    limit: number;
    dataResult: any;
    onSubmit(): void;
    onPageChange(pageOffset: number): void;
    onPageSizeChange(pageSize: number): void;
    sortedColumn: any;
    sortOrder: any;
    onSort(column: string): void;
    RmList: any;
    getAllRm1(): Observable<any>;
    onRmSelect(event: any): void;
    eyeTestCardData: any;
    getCardData(): void;
    eyeView: boolean;
    selectedStepIndex: number;
    conversationData: any;
    convIsPlaying: boolean;
    convCurrentTime: string;
    convDuration: string;
    convProgress: number;
    convIsMuted: boolean;
    readonly waveformHeights: number[];
    eyeTestView(data: any): void;
    settingsView(): void;
    rmList: {
        _id: string;
        userName: string;
        email: string;
        role: string;
    }[];
    getAllStores(): void;
    getAllRm(): void;
    getAllGroups(event?: any): void;
    stepWiseProcess: any;
    dropdownList: any;
    tableLoading: BehaviorSubject<"initial" | "loading" | "loaded">;
    historytableLoading: BehaviorSubject<"initial" | "loading" | "loaded">;
    selectedMinutes: string;
    selectedSeconds: string;
    minutesList: string[];
    secondsList: string[];
    auditDetails: any;
    currentAuditType: any;
    takeAudit: boolean;
    storeId: any;
    tooltipContent: NgbTooltip;
    viewHistory: any;
    viewCancel: any;
    videoPlayer: ElementRef;
    historyData: any;
    AuditId: any;
    viewHistoryData: any;
    spokenLanguage: any;
    modalRef: any;
    disablecancel: boolean;
    backNavigation(): void;
    viewHistoryModel(item: any): void;
    auditData: any;
    eyeTestType: any;
    RmEmail: any;
    cluster: any;
    setPageData(): void;
    getAuditHistory(): void;
    getAuditdetails(): void;
    generateTimeOptions(): void;
    formatNumber(num: number): string;
    dropdownOpen: {
        [key: number]: {
            startTime: boolean;
            endTime: boolean;
            reason: boolean;
        };
    };
    toggleDropdown(i: number, time: 'startTime' | 'endTime' | 'reason'): void;
    getSecondsFromTime(time: string): number;
    selectMinute(index: any, min: string, time: 'startTime' | 'endTime' | 'reason'): void;
    selectSecond(index: any, sec: string, time: 'startTime' | 'endTime' | 'reason'): void;
    selectReason(index: number, key: any, time: any): void;
    selectHumanVerified(index: number, value: boolean): void;
    findcount(): number;
    getValidaForm(): number;
    onsubmit(isReSend?: boolean): void;
    startAudit(value: any): void;
    onYes(): void;
    cancel(): void;
    OnCancel(): void;
    onEyeTestAiSearch(): void;
    private getConvAudio;
    toggleConvPlay(): void;
    onConvTimeUpdate(): void;
    onConvLoaded(): void;
    formatConvTime(seconds: number): string;
    seekConvAudio(event: MouseEvent): void;
    toggleConvMute(): void;
    playFromStep(step: any): void;
    parseAiMarkdown(text: string): SafeHtml;
    aiChatQuery: string;
    aiResponseText: string;
    isAiLoading: boolean;
    private aiSessionId;
    private initAiSession;
    sendChatMessage(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<EyeTestComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<EyeTestComponent, "lib-eye-test", never, {}, {}, never, never, false, never>;
}
