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 type SVGOverlayContent = SVGElement | string; export interface SVGOverlayOptions extends LayerOptions { opacity?: number; className?: string; interactive?: boolean; zIndex?: number; rotation?: number; } interface ResolvedSVGOverlayOptions extends LayerOptions { pane: string; attribution: string; opacity: number; className: string; interactive: boolean; zIndex: number; rotation: number; } export declare class SVGOverlay extends MediaOverlay { #private; content: SVGOverlayContent; element: SVGElement | null; constructor(content: SVGOverlayContent, value: LatLngBoundsLike, options?: SVGOverlayOptions); onAdd(map: Orihon): void; protected mediaElement(): SVGElement | null; protected clearMediaElement(): void; setContent(content: SVGOverlayContent): this; render(): void; } export declare function svgOverlay(content: SVGOverlayContent, value: LatLngBoundsLike, options?: SVGOverlayOptions): SVGOverlay; export declare function svgTagIsDangerous(tag: string): boolean; export declare function svgAttributeIsDangerous(name: string, value: string): boolean; /** Strip scripts, handlers, external URLs and unsafe tags from parsed SVG strings before DOM insertion. */ export declare function sanitizeSvgElement(root: SVGElement): SVGElement; export {}; //# sourceMappingURL=svg-overlay.d.ts.map