import { PipelineStep, NavigationInstruction, Next, RouteConfig } from 'aurelia-router'; import { AuthService, IJwtToken } from '.'; export declare class RoleCheckStep implements PipelineStep { private authService; constructor(authService: AuthService); run(navigationInstruction: NavigationInstruction, next: Next): Promise; } export declare function isRouteAllowed(config: RouteConfig, token?: IJwtToken): boolean;