import type { MapAnnotationDescriptor, MapAnnotationStore } from "../annotations/mapAnnotations"; type AnnotationPresenceResult = Readonly<{ displayAnnotations: ReadonlyArray; isExiting: boolean; shouldRender: boolean; }>; /** * Subscribes to a `MapAnnotationStore` and drives animated enter/exit * for the AnnotationStack. * * During the exit window the hook keeps serving the last non-empty * snapshot so the stack can animate out before the DOM elements are * removed. */ export declare const useAnnotationPresence: (store: MapAnnotationStore) => AnnotationPresenceResult; export {};