import { ReactElement } from 'react';
import { Projection, MapStyle, MapViewInterface, MapIdleEvent, PressFeature } from '../types';
import React from 'react';
/**
 * MapView Props
 *
 * @category Props
 */
export type MapViewProps = {
    /**
     * 坐标投影系
     */
    projection?: Projection;
    /**
     *
     * 地图样式，支持高德矢量地图、高德卫星图、Mapbox矢量地图、mapbox卫星地图，默认显示高德矢量地图。
     */
    style?: MapStyle;
    /**
     * @ignore
     */
    children: ReactElement | ReactElement[];
    /**
     * 地图点击事件
     * @param feature 点击位置信息
     * @returns {void}
     *
     * @example
     * ```
     * {
     *  "geometry": {"coordinates": [104.06190928823503, 30.657739121986168], "type": "Point"},
     *  "properties": {"screenPointX": 197.3333282470703, "screenPointY": 372.3333333333333},
     *  "type": "Feature"
     * }
     * ```
     */
    onPress?: (feature: PressFeature) => void;
    /**
     * 长按地图触发事件
     * @param feature
     * @returns
     *
     * @example
     * ```
     * {
     *  "geometry": {"coordinates": [104.06190928823503, 30.657739121986168], "type": "Point"},
     *  "properties": {"screenPointX": 197.3333282470703, "screenPointY": 372.3333333333333},
     *  "type": "Feature"
     * }
     * ```
     */
    onLongPress?: (feature: PressFeature) => void;
    /**
     * 当地图闲置时触发
     * @param {MapIdleEvent} e
     * @returns
     */
    onMapIdle?: (e: MapIdleEvent) => void;
};
/**
 * @example
 * ```
 * import Mapa from 'react-native-mapa';
 * // 或者import { MapView, Camera } from 'react-native-mapa';
 *
 * <Mapa.MapView>
 *  <Mapa.Camera pitch={60} />
 * </Mapa.MapView>
 * ```
 *
 * @category Component
 */
declare const MapView: React.ForwardRefExoticComponent<MapViewProps & React.RefAttributes<MapViewInterface>>;
export default MapView;
//# sourceMappingURL=MapView.d.ts.map