import { Injector } from "@angular/core"; import { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot, UrlSegment } from "@angular/router"; import { IAuthService, IRoute, RouteValidator } from "../common-types"; import { StateService } from "../services/state.service"; import * as i0 from "@angular/core"; export declare class AuthGuard implements CanActivate { readonly injector: Injector; readonly state: StateService; readonly auth: IAuthService; static guardAuthenticated(auth: IAuthService): Promise; static guardNotAuthenticated(auth: IAuthService): Promise; static guardNothing(): Promise; static guardAuthField(expression?: string): RouteValidator; static guardStateField(expression?: string): RouteValidator; static guardAuthStateField(expression?: string): RouteValidator; static wildRouteMatch(segments: UrlSegment[]): { consumed: UrlSegment[]; }; static noRouteMatch(): any; constructor(injector: Injector, state: StateService, auth: IAuthService); checkRouteMenu(route: IRoute): Promise; checkRoute(route: IRoute, next?: ActivatedRouteSnapshot): Promise; canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise; getReturnState(route: IRoute): Promise; protected getReturnStateRecursive(config: ReadonlyArray, c?: number): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }