@spartacus/checkout
Version:
Checkout feature library for Spartacus
15 lines (14 loc) • 804 B
TypeScript
import { CanActivate, Router, UrlTree } from '@angular/router';
import { ActiveCartService, AuthService, SemanticPathService } from '@spartacus/core';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class NotCheckoutAuthGuard implements CanActivate {
protected authService: AuthService;
protected activeCartService: ActiveCartService;
protected semanticPathService: SemanticPathService;
protected router: Router;
constructor(authService: AuthService, activeCartService: ActiveCartService, semanticPathService: SemanticPathService, router: Router);
canActivate(): Observable<boolean | UrlTree>;
static ɵfac: i0.ɵɵFactoryDeclaration<NotCheckoutAuthGuard, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<NotCheckoutAuthGuard>;
}