import { IEnvironment, LocalStorageService } from '@armor/platform-browser';
/**
 * Service for creating URLs that retain account context when linking back to the JS portal 'AMP'.
 *
 * #### Setup
 *
 * You will need to provide the `environment` for this service once per-module,
 * there may be multiple modules per-app, this would need to be defined in each module.
 *
 * @example
 *
 * import { ENVIRONMENT } from '../environments/environment';
 *
 * //...
 *
 * export class AppModule {
 *  constructor(legacyUrlService: LegacyUrlService) {
 *    legacyUrlService.environment = ENVIRONMENT;
 *    }
 * }
 *
 */
export declare class LegacyUrlService {
    private localStorageService;
    constructor(localStorageService: LocalStorageService);
    environment: IEnvironment;
    /**
     * Takes in a partial route `/security/alerts` or full href `http://amp.armor.com/iprm`
     * and returns a URL that will retain account context when switching between
     * AMP (JS) and Portal (TypeScript)
     * @param route can be partial `/security/alerts` or full href `http://amp.armor.com/iprm`
     */
    buildHref(route?: string): string;
    /**
     * Returns appropriate baseUrl for the given amp route.
     *
     * Used by `buildHref`
     * @param route
     */
    getBaseUrl(route?: string): string;
    /**
     * Determines whether a given URL is an AMP route.
     * @param route
     */
    isAmpLink(route: string): boolean;
}
