import { Component, ImgHTMLAttributes } from 'react'; import { IViewProps } from '../View'; interface IImage { alt?: string; src: string; srcFallback?: string; size?: 'contain' | 'cover'; position?: 'center' | 'left' | 'right' | 'top' | 'bottom'; } declare type IImageProps = IImage & IViewProps & ImgHTMLAttributes; export default class ImageElement extends Component> { state: { useFallback: boolean; }; componentDidMount(): void; componentDidUpdate(prevProps: IImageProps): void; loadImage: (src: string) => void; getFallbackUrl: (resourcePath?: string | undefined) => string; onError: () => void | "" | undefined; render(): JSX.Element; } export {};