///
import * as React from 'react';
export interface ProgressiveImageProps {
children: (image: string, isLoading: boolean) => React.ReactNode | any;
onError?: (errorEvent: Event) => void;
placeholder: string;
src?: string;
}
export interface ProgressiveImageState {
image: string;
isLoading: boolean;
}
export declare class ProgressiveImage extends React.Component {
image: any;
constructor(props: ProgressiveImageProps);
componentDidMount(): void;
componentWillReceiveProps(nextProps: ProgressiveImageProps): void;
componentWillUnmount(): void;
loadImage: (src: string) => void;
onLoad: () => void;
onError: (errorEvent: Event) => void;
render(): any;
}