import { Dispatch, SetStateAction } from 'react'; import { LineString, Position, Feature } from '@turf/helpers/lib/geojson'; import { Feature as GeoJSONFeature } from 'geojson'; import { GeoJSONSource } from 'mapbox-gl'; export declare const addSubmissionLayer: (map: mapboxgl.Map, feature: GeoJSONFeature) => void; export declare const addLineLayer: (map: mapboxgl.Map, setSource: Dispatch>, setBackSource: Dispatch>) => void; export declare const addPointLayer: (map: mapboxgl.Map, setSource: Dispatch>) => void; export declare const movePoint: (newCoords: Position, source: GeoJSONSource, bearing?: number) => void; export declare const updateLineLayer: (line: LineString | null, source: GeoJSONSource, backSource: GeoJSONSource) => void; export declare const flyToFeature: (map: mapboxgl.Map, feature: Feature, isMobile: boolean, isMounted: () => boolean) => void;