import { OpenLayersMapType } from './OpenLayers.types';
/**
 * @function OpenLayersManager.addMap
 * @description 向MapManager内加入地图对象，第一个加入的地图将视为主地图对象
 * @param {OpenLayersMapType} map - 地图对象
 * @param {string | number} mapId - 地图对象标识ID
 * @return {OpenLayersMapType} map
 */
declare const addMap: (map: OpenLayersMapType, mapId?: string | number) => {
    map: OpenLayersMapType;
    message: string;
};
/**
 * @function OpenLayersManager.removeMap
 * @description 从MapManager中移除地图对象
 * @param {OpenLayersMapType | string | number} map - 地图对象或地图id，为空时删除主地图对象
 * @return {string} message - 提示信息
 */
declare const removeMap: (mapOrId?: OpenLayersMapType | string | number) => string;
/**
 * @function OpenLayersManager.getMap
 * @description 获取地图对象
 * @param {string|number|null} mapId - 地图id，为空时获取第一个加入MapManager的主地图对象
 * @return {OpenLayersMapType} map
 */
declare const getMap: (mapId?: string | number) => OpenLayersMapType;
/**
 * @function OpenLayersManager.getAllMap
 * @description 获取所有地图对象
 * @return {OpenLayersMapType[]}
 */
declare const getAllMap: () => OpenLayersMapType[];
/**
 * @function OpenLayersManager.hasMap
 * @description 判断是否存在地图对象
 * @param {string|number} id - 图层id
 * @return {boolean} 是否存在当前id的Map
 */
declare const hasMap: (id: string) => boolean;
/**
 * @function OpenLayersManager.setLayer
 * @description 存储图层对象
 * @param {string|number} id - 图层id
 * @param {layer} layer - 图层对象
 */
declare const setLayer: (id: string, layer: object) => Map<any, any>;
/**
 * @function OpenLayersManager.getLayer
 * @description 获取图层对象
 * @param {string|number} id - 图层id
 * @return {object} layer - 图层对象
 */
declare const getLayer: (id: string) => any;
/**
 * @function OpenLayersManager.hasLayer
 * @description 判断是否存在图层对象
 * @param {string|number} id - 图层id
 * @return {boolean} 是否存在当前id的图层
 */
declare const hasLayer: (id: string) => boolean;
/**
 * @function OpenLayersManager.deleteLayer
 * @description 删除图层对象
 * @param {string|number} id - 图层id
 * @return {boolean} 是否删除
 */
declare const deleteLayer: (id: string | number) => boolean;
export { addMap, getMap, getAllMap, removeMap, hasMap, setLayer, getLayer, hasLayer, deleteLayer };
