declare class ReactImageFallback extends React.Component { constructor(props: any); setDisplayImage({ image, fallbacks }: { image: any; fallbacks: any; }): void; handleInitialTimeout(): void; isLoaded: boolean; displayImage: HTMLImageElement; } declare namespace ReactImageFallback { const displayName: string; namespace propTypes { const src: PropTypes.Requireable; const fallbackImage: PropTypes.Validator; const initialImage: PropTypes.Requireable; const onLoad: PropTypes.Requireable<(...args: any[]) => any>; const onError: PropTypes.Requireable<(...args: any[]) => any>; const initialTimeout: PropTypes.Requireable; } namespace defaultProps { const initialImage_1: any; export { initialImage_1 as initialImage }; } } export default ReactImageFallback; import React from "react"; import PropTypes from "prop-types";