/// export type ObjectFitValue = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down'; export declare class Image { private imageHasLoading; element: HTMLElement; /** * URL of the main image. */ src?: string; /** * Alternative text for the image. */ alt?: string; /** * Width of the image. */ width?: string; /** * Height of the image. */ height?: string; /** * Specifies the object-fit style for the image. Can be: 'fill', 'contain', 'cover', 'none', 'scale-down'. */ objectFit?: ObjectFitValue; /** * Brightness of the image. */ brightness?: number; /** * Data test is the prop to specifically test the component action object. */ dataTest?: string; /** * Indicates whether the main image has been successfully loaded. */ imageLoaded: boolean; /** * Indicates whether there was an error during image loading. */ loadError: boolean; /** * The current source URL of the image to be rendered. */ currentSrc: string; componentDidLoad(): void; loadImage(): Promise; render(): JSX.Element; }