/// <reference types="@uiw/react-amap-types" />
import React from 'react';
import { OverlayProps } from '@uiw/react-amap-map';
export * from './useGeolocation';
export interface GeolocationProps extends OverlayProps, AMap.GeolocationEvents, AMap.GeolocationOptions {
    /**
     * 定位类型
     * - position 获取 用户的精确位置，有失败几率
     * - cityInfo 根据用户 IP 获取 用户所在城市信息
     * @default position
     */
    type?: 'position' | 'cityInfo';
}
export declare const Geolocation: React.ForwardRefExoticComponent<GeolocationProps & React.RefAttributes<GeolocationProps>>;
