///
declare const VALID_LOADING_VALUES: readonly ["lazy", "eager", undefined];
declare type LoadingValue = typeof VALID_LOADING_VALUES[number];
export declare type ImageLoader = (p: ImageLoaderProps) => string;
export declare type ImageLoaderProps = {
src: string;
width: number;
quality?: number;
};
declare type PlaceholderValue = 'blur' | 'empty';
declare type OnLoadingComplete = (result: {
naturalWidth: number;
naturalHeight: number;
}) => void;
export interface StaticImageData {
src: string;
height: number;
width: number;
blurDataURL?: string;
}
interface StaticRequire {
default: StaticImageData;
}
declare type StaticImport = StaticRequire | StaticImageData;
export declare type ImageProps = Omit & {
src: string | StaticImport;
width?: number | string;
height?: number | string;
fill?: boolean;
loader?: ImageLoader;
quality?: number | string;
priority?: boolean;
loading?: LoadingValue;
placeholder?: PlaceholderValue;
blurDataURL?: string;
unoptimized?: boolean;
onLoadingComplete?: OnLoadingComplete;
};
export default function Image({ src, sizes, unoptimized, priority, loading, className, quality, width, height, fill, style, onLoadingComplete, placeholder, blurDataURL, ...all }: ImageProps): JSX.Element;
export {};