import { ReactNode } from "react"; import type { Entity, ShapeEntity } from "@trackunit/react-map-adapter-shared"; type InteractiveDecorationProps = Readonly<{ entity: ShapeEntity; select: (entity: Entity | null) => void; hover: (entity: Entity | null) => void; onClick?: (entity: ShapeEntity) => void; onDblClick?: (entity: ShapeEntity) => void; onHover?: (entity: ShapeEntity | null) => void; children: ReactNode; }>; /** * Uniform interactive wrapper for shape decorations. * * Renders a visually-transparent `