/// import { HTMLProps, PureComponent } from 'react'; export interface ImgProps extends HTMLProps { } export interface ImgState { imageSrc: string; } export declare class Img extends PureComponent { image: HTMLImageElement; state: ImgState; componentDidMount(): void; componentWillReceiveProps(nextProps: ImgProps): void; componentWillUnmount(): void; setDisplayImage: (imageSrc: string) => void; render(): JSX.Element; }