import { BehaviorSubject, Observable } from 'rxjs'; import { OtpAuthModel } from '../../models/OtpAuthModel'; import { UserDetailsModel } from '../../models/UserDetailsModel'; import { UserModel } from '../../models/UserModel'; import { UtilService } from '../util/util.service'; import { Storage } from '@ionic/storage-angular'; import { MenuItem } from 'primeng/api'; import { ClaimantContextService } from '../../services/claimant-context/claimant-context.service'; import * as i0 from "@angular/core"; export declare class LoginService { util: UtilService; private storage; private claimantContextService; options: {}; private userBs; private userIdInUnitBs; private menuBs; private user; private authCode; setAuthCode(authcode: string): void; getAuthcode(): string; getUser(): UserModel; getUserBs(): BehaviorSubject; getMenuBs(): BehaviorSubject; setUser(res: UserModel): Promise; getFullName(): string; getIsUserProfileComplete(): boolean; constructor(util: UtilService, storage: Storage, claimantContextService: ClaimantContextService); getUserPersonalDetails(): Observable; generateOtp(userId: string, type: string): Observable; login(auth: OtpAuthModel): Observable; loginAndCheckForMFA(auth: OtpAuthModel): Observable; refreshToken(refreshToken: any): Promise; refreshTokenWings(refreshToken: any): Promise; createTokenPostSsoValidation(): Promise; loadUserInfo(): Promise; getStoredAccessTopen(): Promise; generateOtpUnregistered(mobileNo: string): Observable; signUp(userModel: UserModel): Observable; updatePersonalDetails(usrDtls: UserDetailsModel): Observable; reset(): void; removeCookies(): void; deleteCookie(cookieName: any): void; createCookie(cookieName: any, value: any, expiration: any): void; logout(): void; isLoggedIn(): boolean; is2FARequired(): boolean; updateProfile(user: UserModel): Observable; updatePassword(oldPassword: any, newPassword: any, confirmPassword: any): Observable; initiateForgotPassword(userId: string): Observable; initiateForgotPasswordV2(userId: string): Observable; hasRole(roleName: string): boolean; hasFunction(functionName: string): boolean; hasRoles(...roles: string[]): boolean; hasFunctions(...functions: string[]): boolean; checkRoles(roles: string[]): boolean; checkFunctions(functions: string[]): boolean; isCsr(): boolean; isTaxAuditSupervisor(): boolean; isTaxAuditAuditor(): boolean; isTaxAuditDirector(): boolean; isEmployer(): boolean; isTpa(): boolean; isClaimant(): boolean; hasSsnAssociated(): boolean; getUserMenus(): Observable; markFav(menuId: string): Observable; removeFav(menuId: string): Observable; getFavouriteMenu(): Observable; getTrendingMenu(): Observable; verifyEmail(code: string): Observable; getNewCode(): Observable; updateEmailAndGetNewCode(email: string): Observable; getNewAuthCode(type: string): Observable; associateSsnToUserId(ssn: string): Observable; getUserIdInUnitBs(): BehaviorSubject; loadUserIdsFromUnitOfLoggedInUser(unitId: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } //# sourceMappingURL=login.service.d.ts.map