import L from 'leaflet'; import { Theme } from '@mui/material/styles'; export declare const DEFAULT_MARKER_PIN_SVG: string; export declare const DEFAULT_MARKER_SHADOW_SVG: string; export declare const DEFAULT_MARKER_ICON_URL: string; export declare const DEFAULT_MARKER_SHADOW_URL: string; /** * Custom Leaflet icon using inline SVG data URIs. * Avoids L.Icon.Default._getIconUrl which prepends imagePath and corrupts data URIs. */ export declare const DRF_REACT_BY_SCHEMA_MARKER_ICON: L.Icon; /** * Point the default marker icon at the inline SVG data-URI so geometry * widgets render points under any bundler with no external image assets. * * Uses L.Marker.prototype.options.icon (Leaflet's documented default-icon * mechanism) instead of L.Icon.Default, whose _getIconUrl always prepends * the auto-detected imagePath, corrupting data URIs. * * Call once at module load in any component that renders markers. * Safe to call multiple times — only the first call takes effect. */ export declare function applyDefaultLeafletIcon(): void; /** * If the theme provides a custom markerIcon (an L.Icon), apply it as the * default for all new L.Marker instances. Call from components that have * access to the MUI theme (e.g. inside a React component body via useTheme). * * The consumer declares `markerIcon` on the MUI theme via module augmentation: * * declare module '@mui/material/styles' { * interface Theme { markerIcon?: L.Icon } * interface ThemeOptions { markerIcon?: L.Icon } * } */ export declare function applyThemeMarkerIcon(theme: Theme): void; //# sourceMappingURL=leafletMarker.d.ts.map