import type { FC } from "react"; export interface OnConfirmParams { /** 经度值 */ longitude: number | string; /** 纬度值 */ latitude: number | string; /** 额外参数 */ extra?: { area: string }; } export interface MapSelectorProps { /** 是否显示弹窗 */ visible: boolean; /** 关闭弹窗回调 */ onClose: () => void; /** 经度值 */ longitude?: number | string; /** 纬度值 */ latitude?: number | string; /** 所属区域 */ area?: string; /** 是否显示所属区域 */ showArea?: boolean; /** 是否只查看 */ disable?: boolean; /** 确认选择回调 */ onConfirm?: (longitude: number | string, latitude: number | string, extra: { area: string }) => void; } /** * 定位组件弹窗 */ declare const MapSelector: FC; export default MapSelector;