import { Observable, Subject } from 'rxjs'; import { LegacyAuthService } from './legacy-auth.service'; import { CognitoAuthService } from './cognito-auth.service'; import { BaseAuthService } from './base-auth.service'; import { AuthState } from '../model/AuthState'; import { RegisterProps } from '../model/RegisterProps'; import { IdpProvider } from '../model/IdpProvider'; export declare class ReflauntAuthService implements BaseAuthService { private cognitoAuthService; private legacyAuthService; authState: AuthState; stateChangedObservable?: Subject; constructor(cognitoAuthService: CognitoAuthService, legacyAuthService: LegacyAuthService); listenToStateChanges(): Observable; isAuthenticated(): Observable; getAccessToken(): Observable; authenticateFromExternalIdp(idpProvider: IdpProvider): Promise; login(email: string, password: string): Promise; register(props: RegisterProps): Promise; forgotPassword(email: any): Promise; changePassword(old_password: any, new_password: any): Promise; changePasswordAsAdmin(new_password: string, user_id: number): Promise; resetPassword(email: any, code: any, password: any): Promise; getUserProfile(): Promise; checkIfCognitoUserExist(): Promise; logout(): Promise; updateEmail(data: any): Promise; verifyUpdateEmail(data: any): Promise; } //# sourceMappingURL=reflaunt-auth.service.d.ts.map