import { Dispatch, SetStateAction } from 'react'; import type { DataDrivenPropertyValueSpecification, Map, StyleSpecification } from 'maplibre-gl'; declare const updateStyle: (layer_id: string, map: Map | undefined, type: 'layout' | 'paint' | 'zoom' | 'metadata', key: string | number, value: DataDrivenPropertyValueSpecification, setStyle: Dispatch>) => void; export default updateStyle;