/**
 * Flowtype definitions for static-map
 * Generated by Flowgen from a Typescript Definition
 * Flowgen v1.21.0
 */

import { Element } from "react";
import type { MapboxProps } from "../goong/goong";
export type StaticMapProps = {
  ...MapboxProps,
  ...$Rest<
    {
      className: string,
      style: any,
      disableTokenWarning: boolean,
      visibilityConstraints: any,
      children: any,
      onResize: Function,
      ...
    },
    { ... }
  >,
};
export interface MapRef {
  getMap(): any;
  queryRenderedFeatures(
    geometry: [number, number] | [[number, number], [number, number]],
    options?: any
  ): Array<any>;
}
declare export default function StaticMap(props: StaticMapProps): Element;
