import * as React from "react"; import type { MapCalloutProps as MapCalloutComponentProps } from "react-native-maps"; export interface MapCalloutProps extends Omit { showTooltip?: boolean; } /** * Renders nothing, serves as placeholder for props * Rendering exposed as function to avoid having an intermediary component that changes the type * * This is done because the underlying package has logic dependant on the type of child * See: https://github.com/teovillanueva/react-native-web-maps/blob/5f3d0ec7c24f789c3df30c1d6d7223e638ff5868/packages/react-native-web-maps/src/components/marker.web.tsx#L79 */ declare const MapCallout: React.FC>; export declare function renderCallout(props: MapCalloutProps, key: React.Key): React.JSX.Element; export default MapCallout;