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