import type { LatLngBoundsLike } from "../geo.js"; import type { LayerOptions } from "../layer.js"; import type { Orihon } from "../map.js"; import { MediaOverlay } from "./media-overlay.js"; export interface ImageOverlayOptions extends LayerOptions { opacity?: number; alt?: string; className?: string; crossOrigin?: boolean | string; referrerPolicy?: ReferrerPolicy | ""; errorOverlayUrl?: string; interactive?: boolean; zIndex?: number; rotation?: number; } interface ResolvedImageOverlayOptions extends LayerOptions { pane: string; attribution: string; opacity: number; alt: string; className: string; crossOrigin: boolean | string; referrerPolicy: ReferrerPolicy | ""; errorOverlayUrl: string; interactive: boolean; zIndex: number; rotation: number; } export interface ImageOverlayEventMap { load: { originalEvent: Event; }; error: { originalEvent: Event; url: string; }; } export declare class ImageOverlay extends MediaOverlay { url: string; image: HTMLImageElement | null; private _fallbackUsed; constructor(url: string, value: LatLngBoundsLike, options?: ImageOverlayOptions); onAdd(map: Orihon): void; protected mediaElement(): HTMLImageElement | null; protected clearMediaElement(): void; setUrl(url: string): this; } export declare function imageOverlay(url: string, value: LatLngBoundsLike, options?: ImageOverlayOptions): ImageOverlay; export {}; //# sourceMappingURL=image-overlay.d.ts.map