import { ReactElement } from 'react'; import { LatLngLiteral, Icon } from 'leaflet'; export declare type LatLng = LatLngLiteral; export interface Bounds { southWest: LatLng; northEast: LatLng; } export interface Viewport { center: LatLng; zoom: number; } export interface BoundsViewport { bounds: Bounds; zoomLevel: number; } export interface MarkerProps { position: LatLng; id: string; icon?: Icon; showPopup?: boolean; popupContent?: { content: ReactElement; size: { width: number; height: number; }; }; } export declare type AnimationFunction = ({ prevMarkers, markers, }: { prevMarkers: ReactElement[]; markers: ReactElement[]; }) => { zoomType: string | null; markers: ReactElement[]; }; /** * Utility type to extract the Props type from a React Component * @example type Props = ExtractProps; */ export declare type ExtractProps = T extends React.ComponentType ? Props : never; //# sourceMappingURL=Types.d.ts.map