import React from 'react';
type ImageProps = React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> & {
    onLoadingComplete?: (img: HTMLImageElement) => void;
    onError?: (error: any) => void;
    width?: number;
    height?: number;
    unoptimized?: boolean;
    priority?: boolean;
};
export declare function useImageProtection(): {
    ProtectedImage: React.ForwardRefExoticComponent<Omit<ImageProps, "ref"> & React.RefAttributes<unknown>>;
};
export {};
