import { Point, type PointLike } from "../geo.js"; export interface IconOptions { html?: never; iconUrl: string; content?: never; iconRetinaUrl?: string; iconSize?: PointLike; iconAnchor?: PointLike; shadowUrl?: string; shadowRetinaUrl?: string; shadowSize?: PointLike; shadowAnchor?: PointLike; className?: string; alt?: string; } interface ResolvedIconOptions { iconUrl: string; iconRetinaUrl: string; iconSize: Point; iconAnchor: Point; shadowUrl: string; shadowRetinaUrl: string; shadowSize: Point; shadowAnchor: Point; className: string; alt: string; } export declare class Icon { readonly options: ResolvedIconOptions; constructor(options: IconOptions); createIcon(oldIcon?: HTMLElement | null): HTMLImageElement; createShadow(oldShadow?: HTMLElement | null): HTMLImageElement | null; getAnchor(): Point; getSize(): Point; } export interface DivIconOptions { html?: never; iconUrl?: never; iconRetinaUrl?: never; shadowUrl?: never; shadowRetinaUrl?: never; shadowSize?: never; shadowAnchor?: never; alt?: never; content?: string | number | Node; iconSize?: PointLike; iconAnchor?: PointLike; className?: string; } interface ResolvedDivIconOptions { content: string | number | Node; iconSize: Point; iconAnchor: Point; className: string; } export declare class DivIcon { readonly options: ResolvedDivIconOptions; constructor(options?: DivIconOptions); createIcon(oldIcon?: HTMLElement | null): HTMLDivElement; createShadow(): null; getAnchor(): Point; getSize(): Point; } export type MarkerIcon = Icon | DivIcon; export declare function icon(options: IconOptions): Icon; export declare function icon(options?: DivIconOptions): DivIcon; export declare function divIcon(options?: DivIconOptions): DivIcon; export {}; //# sourceMappingURL=icon.d.ts.map