import type { MapApi } from "../../core/types"; import type { PanelPreloadInitiatorType, ProximityPanelPreloadInitiator } from "./preloadInitiators"; /** * Fires `onShouldPreload` for the `count` entities closest to * `referenceEntityId`. Skips entirely when `referenceEntityId` is `null`. * * Subscribes to `api.on("moveend")` to re-trigger after map pans — entities * prop updates when new markers arrive in the viewport, so the nearest set * may change after each pan. * * @internal */ export declare const useProximityPreloadInitiator: (initiator: ProximityPanelPreloadInitiator | undefined, api: MapApi, onShouldPreload: (id: string, type: PanelPreloadInitiatorType) => void) => void;