import React from 'react';
export type ImageLoaderProps = {
    /**
     * styles for container
     */
    containerStyles?: React.CSSProperties;
    /**
     * default state for component
     */
    defaultState?: JSX.Element;
    /**
     * styles for image
     */
    imgStyles?: React.CSSProperties;
    /**
     * loading component
     */
    loader?: JSX.Element;
    onError?: (error?: Error) => void;
    /**
     * path of image
     */
    path: string | 'placeholder';
};
export declare function ImageLoader({ path, defaultState, loader, containerStyles, imgStyles, onError }: ImageLoaderProps): JSX.Element;
