/* Copyright IBM Corp. 2018 */ import { Observable } from 'rxjs'; import { HubInfoUrlProvider } from './../../api'; export declare const KEY_ON_RENDERING_CONTEXT = "onRenderingContext"; export declare const KEY_ON_LAYOUT_MODE = "onLayoutMode"; /** * Decodes the base href of the application from the config or the doc fallback * * @param aBaseUrl the optional base URL * @param aDoc the document * * @return the path prefix that is supposed to be recognized as URLs */ declare function _getAppBaseURL(aBaseUrl?: HubInfoUrlProvider, aDoc?: Document): string; /** * Decodes the base href of the application from the config or the doc fallback * * @param aBaseUrl the optional base URL * @param aDoc the document * * @return the path prefix that is supposed to be recognized as URLs */ declare function _getAppBaseHref(aBaseUrl?: HubInfoUrlProvider, aDoc?: Document): string; declare function _getRenderingContextURL(aID: string): Observable; declare function _getSiteURL(): Observable; export { _getAppBaseURL as wchGetAppBaseURL, _getAppBaseHref as wchGetAppBaseHref, _getSiteURL as wchGetSiteURL, _getRenderingContextURL as wchGetRenderingContextURL };