/**
 * runtime.ts
 *
 * This represents a runtime environment where components can interact with the map viewer
 * in the traditional way. This module is mainly for servicing the AJAX viewer API emulation.
 *
 * Where possible, use actions instead of this module
 */
import { IMapViewer } from "../api/common";
/**
 * Sets the Fusion base URL
 *
 * @export
 * @param {string} root
 */
export declare function setFusionRoot(root: string): void;
/**
 * Gets the Fusion base URL
 *
 * @export
 * @returns {string}
 */
export declare function getFusionRoot(): string;
/**
 * Sets the viewer instance. Called by the map viewer component when it has mounted.
 *
 * DO NOT CALL DIRECTLY
 *
 * @hidden
 * @param {IMapViewer} viewer
 */
export declare function setViewer(viewer: IMapViewer): void;
/**
 * Gets whether the runtime environment is ready
 *
 * @export
 * @returns {boolean}
 */
export declare function isReady(): boolean;
/**
 * Gets the map viewer in this runtime environment
 *
 * @export
 * @returns {IMapViewer}
 * @deprecated You should be using the map provider context accessed via the {@link useMapProviderContext} hook where possible
 */
export declare function getViewer(): IMapViewer | undefined;
