import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core'; import { FormBuilder } from '@angular/forms'; import { ActivatedRoute, Router } from '@angular/router'; import { Subscription } from 'rxjs'; import { AuthService } from '../../services/auth.service'; import { GlobalStateService, PageInfoService } from 'tango-app-ui-global'; import { ToastService } from 'tango-app-ui-shared'; import dayjs from "dayjs"; import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; import { MsalService } from '@azure/msal-angular'; import * as i0 from "@angular/core"; declare global { interface Window { hj: any; } } export declare class TangoAuthLoginComponent implements OnInit, OnDestroy { private router; private route; private fb; private service; private gs; private cd; private toastService; private pageInfo; modalService: NgbModal; private msalService; defaultAuth: any; hasError: boolean; returnUrl: string; show: boolean; loginForm: any; credentials: any; isLoading: boolean; isloader: boolean; emailInputRef: ElementRef; passwordInputRef: ElementRef; private authlocalStorageToken; private secretKey; private readonly destroy$; pageSection: 'login' | 'otp'; otp: string; otpCounter: number; resendOtp: boolean; countDown: Subscription; dayjs: typeof dayjs; termsAndCondition: any; loggedIn: boolean; GOOGLE_CLIENT_ID: string; constructor(router: Router, route: ActivatedRoute, fb: FormBuilder, service: AuthService, gs: GlobalStateService, cd: ChangeDetectorRef, toastService: ToastService, pageInfo: PageInfoService, modalService: NgbModal, msalService: MsalService); ngOnInit(): void; initGoogleScriptWatcher(): void; initGoogleLogin(): void; handleGoogleResponse(response: any): void; ngOnDestroy(): void; initForm(): void; loginAttemptCount: number; onLogin(resend?: boolean): void; handleLoginError(err?: any): void; isPopupOpen: boolean; loginWithMicrosoft(): Promise; userProfile(): void; showPassword(): void; onOtpChange(event: any): void; showTermsAndConditions(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }