import { type LatLngLike } from "./geo.js"; import { Layer, type LayerOptions } from "./layer.js"; import { type OverlayContent, type Popup, type PopupOptions, type Tooltip, type TooltipOptions } from "./overlays/div-overlay.js"; /** * Layer that can carry a Popup and a Tooltip. * * This module lives above Core precisely so it can depend on the overlay implementation * directly: `bindPopup` calls the imported `popup()`, with no registry and no import-order * question about whether the capability is present. Core raster layers extend plain `Layer` * rather than advertising a capability that tier does not ship, which is what keeps the * overlay module out of the Core bundle without a runtime indirection. */ export declare class InteractiveLayer extends Layer { protected _popup: Popup | null; protected _tooltip: Tooltip | null; private _popupHandlers; private _tooltipHandlers; bindPopup(content: OverlayContent, options?: PopupOptions): this; unbindPopup(): this; openPopup(value?: LatLngLike): this; closePopup(): this; togglePopup(): this; isPopupOpen(): boolean; getPopup(): Popup | null; bindTooltip(content: OverlayContent, options?: TooltipOptions): this; unbindTooltip(): this; openTooltip(value?: LatLngLike): this; closeTooltip(): this; isTooltipOpen(): boolean; getTooltip(): Tooltip | null; protected _overlayAnchor(): LatLngLike; private _eventLatLng; } //# sourceMappingURL=interactive-layer.d.ts.map