import * as React from 'react'; import mapboxgl from 'mapbox-gl'; import { Coords } from './types.js'; declare const Line: (options: LineType) => null; declare const _default: React.MemoExoticComponent<(options: LineType) => null>; type LineType = { id: string; coordinates: Coords[]; onClick?: () => void; paint?: mapboxgl.LinePaint; layout?: mapboxgl.LineLayout; color?: string; width?: number; /** * default 'round' */ join?: mapboxgl.LineLayout["line-join"]; /** * default 'round' */ cap?: mapboxgl.LineLayout["line-cap"]; }; export { Line, _default as default };