import { HttpStatusCode } from '@microsoft/windows-admin-center-sdk/core/data/http-constants';
import { AuthorizationManager, NodeAuthorizationHandler } from '@microsoft/windows-admin-center-sdk/core/security/authorization-manager';
import { AjaxError } from 'rxjs/ajax';
import { RpcService } from './rpc.service';
import * as i0 from "@angular/core";
export declare class AuthorizationService extends AuthorizationManager {
    static authorize: NodeAuthorizationHandler;
    constructor(rpc: RpcService);
    canHandleAjaxFailure(code: HttpStatusCode, error: AjaxError): boolean;
    private get isShell();
    static ɵfac: i0.ɵɵFactoryDeclaration<AuthorizationService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<AuthorizationService>;
}
