import { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot, UrlTree } from '@angular/router'; import { AuthConfigService, AuthRedirectService, AuthService } from '@spartacus/core'; import { Observable } from 'rxjs'; import { CmsPageGuard } from '../../../cms-structure/guards/cms-page.guard'; import * as i0 from "@angular/core"; /** * Guards the _login_ route. * * Takes care of routing the user to a auth server login page (if implicit or code flow is used). * In case of Resource Owner Password Flow just renders the page as normal CMS page. */ export declare class LoginGuard implements CanActivate { protected authService: AuthService; protected authRedirectService: AuthRedirectService; protected authConfigService: AuthConfigService; protected cmsPageGuard: CmsPageGuard; constructor(authService: AuthService, authRedirectService: AuthRedirectService, authConfigService: AuthConfigService, cmsPageGuard: CmsPageGuard); canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }