import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Subscription } from 'rxjs'; import { CookieService, FlashMessageService, RequestCallsService } from '@qorpo/common'; import { MetamaskActionsService } from '@qorpo/metamask'; import { AuthLibConfig } from '../../lib-config'; import { Methods } from '../../models/methods'; import { TwitterAuthRes } from '../../models/twitter-auth-res'; import { AuthRoutingService } from '../../services/auth-routing.service'; import { AuthStorageManagementService } from '../../services/auth-storage-management.service'; import { AuthService as QorpoAuth } from '../../services/auth.service'; import { RecaptchaService } from '../../services/recaptcha.service'; import { LoginFormComponent } from '../form-components/login-form/login-form.component'; import { SocialAuthService } from '../social-logins/social-auth.service'; import * as i0 from "@angular/core"; export declare class LoginComponent implements OnInit, OnDestroy, AfterViewInit { protected injector: Injector; private qAuth; private router; private recaptcha; private flash; private activatedRoute; private socialAuthService; private metaActions; private storage; private cookie; private request; private readonly libConfig; routing: AuthRoutingService; readonly provider = "cognito"; loading: boolean; socialLoading: boolean; loginSucc: boolean; socialLoadingTimeout: any; token: string; gauthfired: boolean; usinggauth: boolean; showForm: boolean; isMetamaskLogin: boolean; isWalletConnectLogin: boolean; isSocialLogin: boolean; selectedProvider: string; email: string; ueToken: string; mmewa: string; metaSwitch: boolean; okxSwitch: boolean; walletType: string; walletConnectSwitch: boolean; animationDisabled: boolean; loginOptions: { method: string; icon: string; callback: () => void; }[]; mfaOnly: boolean; twitterAuthRes: TwitterAuthRes; loginObserver: Subscription; Methods: typeof Methods; loginMethod: Methods; loginForm: LoginFormComponent; ueNoLockedException: boolean; theme: 'qid' | 'qmarket'; constructor(injector: Injector, qAuth: QorpoAuth, router: Router, recaptcha: RecaptchaService, flash: FlashMessageService, activatedRoute: ActivatedRoute, socialAuthService: SocialAuthService, metaActions: MetamaskActionsService, storage: AuthStorageManagementService, cookie: CookieService, request: RequestCallsService, libConfig: AuthLibConfig, routing: AuthRoutingService); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; setLoginObserver(): void; setRouteHandler(): void; resetValues(): void; resolveLoginButtonAction(): void; triggerMetamaskLogin(): void; triggerWalletConnectLogin(): void; triggerCognitoLogin(): void; triggerSocialLogin(provider: string): void; handleCredentialsError(error: any): void; fireGAuth(): void; handleError(error: any): void; clearProvider(): Promise; closeModals(): void; toggleMetamaskModal(state: boolean): void; toggleWalletConnectModal(state: boolean): void; checkMeta(): void; checkOkx(): void; generateRandomString(): string; showSocialLoading(): void; authorizeLoggedUser(ueToken: string): void; counter(i: number): Array; onKeyDown($event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=login.component.d.ts.map