import React from 'react'; export interface ImageWithFallbacksProps extends Omit, 'src' | 'alt' | 'onError' | 'onLoad' | 'onChange'> { fallbacks?: string; src: string; alt?: string; loader?: boolean; } type ImageWithFallbacksState = { src: string; fallbackIndex: number; fallbacks: string[]; loaded: boolean; }; declare class ImageWithFallbacks extends React.Component { constructor(props: ImageWithFallbacksProps); componentDidUpdate(prevProps: ImageWithFallbacksProps): void; onError(): void; onLoad(): void; render(): React.JSX.Element; } export default ImageWithFallbacks;