import { ActivatedRouteSnapshot } from "@angular/router" ; import { AuthorizeConfig } from "./authorize-config" ; export interface IAuthorize { authorize ( authorizeConfig , route ) : Promise < boolean > | boolean ; authorizeChildren ( authorizeConfig , pageAuthorizeConfig ) : Promise < boolean > | boolean ; }