import React from 'react'; import { GeocodeQueryType } from '@mapbox/mapbox-sdk/services/geocoding'; import { FieldProps } from 'formik'; interface Props extends FieldProps { className?: string; description?: string; label?: string; optional?: boolean | string; placeholder?: string; types?: GeocodeQueryType[]; token: string; transformValue?: (v: any) => any; triggerOnChange?: (v: any) => Promise; } declare const LocationField: React.FC; export default LocationField;