import { Icon } from "@trackunit/react-components"; import { type ComponentProps, type ReactElement } from "react"; import type { MarkerDomSize } from "./model/markerDomTypes"; type MapMarkerIconProps = { name: ComponentProps["name"]; size: MarkerDomSize; /** Rendered as the native HTML title attribute. */ title?: string; }; /** * Renders a correctly-scaled icon for use in the `MapMarker` `icon` prop. * * Internally always renders a `size="small"` (16×16 micro) icon, then applies a * CSS scale transform so the visual size matches the icon slot from * `MARKER_SIZE_MAP[size].icon`. Returns `null` for `xs` (no icon slot). * * @example * } /> */ export declare function MapMarkerIcon({ name, size, title }: MapMarkerIconProps): ReactElement | null; export {};