import { DialogService } from '../controls/dialog/dialog.service';
import { AppContextService } from './app-context.service';
/**
 * Defines the connectivity levels.
 */
export declare enum ConnectivityLevel {
    /**
     * All connections are allowed.
     */
    All = "All",
    /**
     * Connections to Azure and gateway are allowed.
     */
    AzureAndGateway = "AzureAndGateway",
    /**
     * Only connections to gateway are allowed.
     */
    Gateway = "Gateway"
}
/**
 * Connectivity enforcer class
 */
export declare class ConnectivityEnforcer {
    private static monitorName;
    /**
     * Registers the connectivity enforcer with the http if connectivity level is not 'All'
     * @param appContextService The appcontext service
     */
    static register(appContextService: AppContextService): void;
    /**
     * Checks if Azure login is allowed. Shows a connectivity dialog if its not.
     * @param appContextService The appcontext service
     * @returns true if Azure login is allowed, else false.
     */
    static checkAzureLoginAllowed(appContextService: AppContextService, dialogService: DialogService): boolean;
    /**
     * Checks to see if the request is a gateway request.
     */
    private static isGatewayRequest;
    /**
     * Checks to see if the request can be allowed to go through.
     */
    private static isRequestAllowed;
    private static getDialogContent;
}
