import React from 'react';
import type { ComponentType } from 'react';
export interface ImageLoaderProps {
    imageStatus?: ImageStatus;
    onExternalImageLoaded?: (dimensions: {
        height: number;
        width: number;
    }) => void;
    url?: string;
}
export interface ImageLoaderState {
    imageStatus: ImageStatus;
}
export type ImageStatus = 'complete' | 'loading' | 'error';
export declare const withImageLoader: <P extends Object>(Wrapped: ComponentType<React.PropsWithChildren<P & ImageLoaderProps>>) => React.ComponentClass<P & ImageLoaderProps>;
