import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, RouterStateSnapshot } from '@angular/router';
import { ISdPermissionConfiguration } from '../configurations';
import { SdPermissionService } from '../services';
import * as i0 from "@angular/core";
export declare class SdPermissionGuard implements CanActivate, CanActivateChild {
    private configuration;
    private permissionService;
    constructor(configuration: ISdPermissionConfiguration, permissionService: SdPermissionService);
    canActivate: (next: ActivatedRouteSnapshot, state: RouterStateSnapshot) => Promise<boolean>;
    canActivateChild: (activatedRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot) => Promise<boolean>;
    static ɵfac: i0.ɵɵFactoryDeclaration<SdPermissionGuard, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<SdPermissionGuard>;
}
