import { Component, CSSProperties } from 'react'; declare type Iprop = { href?: string; src: string; width: number | string; height: number | string; style?: CSSProperties; }; export default class Image extends Component { state: { src: string; error: boolean; }; componentWillReceiveProps(nextProps: Iprop): void; onError: () => void; render(): JSX.Element; getHref: () => string; } export {};