import React from "react"; import "./LsgImage.scss"; export interface LsgImageTag { label: string; } export interface LsgImageSource { /** Candidate set for this breakpoint. Maps to ``. */ srcset: string; /** Media condition. Maps to ``. Omit for the fallback source. */ media?: string; } export interface LsgImageProps { /** Image URL rendered by the component. Maps to Core Image `src`. */ imageUrl?: string; /** Alternative text for the image. Maps to Core Image `alt`. */ imageAlt?: string; /** Candidate set for native adaptive loading. Maps to Core Image `srcset`. Ignored when `sources` is set, mirroring the AEM crops branch. */ srcset?: string; /** Responsive `` variants, as AEM emits from the Scene7 crop map. */ sources?: LsgImageSource[]; /** Intrinsic width of the image. Maps to Core Image `width`. */ width?: number | string; /** Intrinsic height of the image. Maps to Core Image `height`. */ height?: number | string; /** URI template used by AEM to request a rendition. Maps to Core Image `srcUriTemplate`. */ srcUriTemplate?: string; /** Native lazy loading, as per the Core Image `disableLazyLoading` policy. Default: true. */ lazyEnabled?: boolean; /** Render the title as the image tooltip instead of the caption. Maps to Core Image `displayPopupTitle`. */ displayPopupTitle?: boolean; /** Component id. Maps to Core Image `id`. */ id?: string; /** Serialised data layer payload. Maps to Core Image `data.json`. */ dataLayer?: string; /** Asset UUID. Maps to Core Image `uuid`. */ assetId?: string; /** Marks the image as a Dynamic Media image. Maps to Core Image `dmImage`. */ dmImage?: boolean | string; /** Up to 3 tag pills overlaid on the image. */ tags?: LsgImageTag[]; /** Image title. Maps to the AEM Core Image caption/title. */ title?: string; /** LSG-specific description revealed on hover/focus. */ description?: string; /** Backward-compatible alias for description. */ caption?: string; /** Optional image link. Maps to Core Image `imageLink`. */ href?: string; className?: string; } export declare const LsgImage: React.FC;