import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
import { OktaAuthService } from './services/okta.service';
export declare class OktaAuthGuard implements CanActivate {
    private oktaAuth;
    private router;
    constructor(oktaAuth: OktaAuthService, router: Router);
    /**
     * Gateway for protected route. Returns true if there is a valid accessToken,
     * otherwise it will cache the route and start the login flow.
     * @param route
     * @param state
     */
    canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<boolean>;
}
