import * as React from 'react'; export interface MapImagePlotProps extends React.SVGProps { /** * URL of the image to render as the base map. * Must be same-origin (or CORS-enabled) so it can be reprojected on a canvas. */ href?: string; /** * Geographic extent the source image covers, as `[[west, south], [east, north]]`. * The image is assumed to be in the equirectangular (plate carrée) projection. * If `west` is greater than `east`, the range wraps across the antimeridian. * @default [[-180, -90], [180, 90]] */ imageBounds?: [[number, number], [number, number]]; /** * Called after each reprojection. * @param {string | null} dataUrl The reprojected raster as a data URL, or `null` when it could not be produced. */ onReady?: (dataUrl: string | null) => void; } /** * Renders a raster base map (for example a satellite mosaic) under the series, * reprojected to match the chart's `projection` so it follows the geography * instead of being a flat rectangle. Pixels outside the projection's visible * footprint are left transparent. * * The source image is loaded only when `href` changes; changing the projection or * resizing reuses the decoded image and only re-runs the (synchronous) canvas * reprojection. * * The source image is assumed to be equirectangular; use `imageBounds` when it * does not cover the whole globe. Any other SVG image attribute is forwarded to * the underlying element. */ declare function MapImagePlot(props: MapImagePlotProps): React.JSX.Element | null; declare namespace MapImagePlot { var propTypes: any; } export { MapImagePlot };