import { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot } from '@angular/router'; import { Observable } from 'rxjs'; import { LocaleService } from './locale.service'; import * as i0 from "@angular/core"; export declare class SiteGuard implements CanActivate { private localeService; constructor(localeService: LocaleService); /** * Allow router changes based on the current site rules * @param {ActivatedRouteSnapshot} route * @param {RouterStateSnapshot} state */ canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }