import React from "react"; import { MapComponent } from '../../../types/Map'; type LocateProps = { Map?: MapComponent; poiName?: string; coordinate?: [number, number]; areaId?: string; onLocated: (selected: { poiName: string; coordinate: [number, number]; areaId: string; }) => void; }; export type Poi = { id: number | string; areaId: string; poiName: string; coordinate: [number, number]; }; export default function Locate(props: LocateProps): React.JSX.Element; export {};