import * as React from 'react'; import mapboxgl from 'mapbox-gl'; import { Coords } from './types.js'; declare const Polygon: (options: PolygonType) => null; declare const _default: React.MemoExoticComponent<(options: PolygonType) => null>; type PolygonType = { id: string; coordinates: Coords[]; onClick?: () => void; paint?: mapboxgl.FillPaint; layout?: mapboxgl.LineLayout; color?: string; opacity?: number; }; export { Polygon, _default as default };