import type { MapAnnotationDescriptor } from "./mapAnnotations"; /** * Returns a stable content key for the descriptor so that inline objects with * the same logical content do not trigger effect re-runs. * * For simple descriptors, `onClick` and `icon` are tracked by reference * identity so a new click handler or a new icon element causes re-registration, * preventing stale-closure bugs. * * For custom descriptors, the descriptor's own object identity is used so the * key changes whenever the render function reference changes (e.g. when * isHovered / isSelected state changes). */ export declare const getDescriptorContentKey: (descriptor: MapAnnotationDescriptor | null) => string;