import * as React from "react"; interface ImageProps { src: string; style?: React.CSSProperties; id?: string; className?: string; onClick?(): void; } interface ImageStateProps { loaded: boolean; } declare class Image extends React.Component { private image; state: { loaded: boolean; }; componentDidMount(): void; componentWillUnmount(): void; handleImageLoad: () => void; render(): JSX.Element; } export default Image;