import { type ComponentType, type ImgHTMLAttributes } from 'react';
/**
* Register the real `next/image` so this shim delegates to it instead
* of rendering a plain `
`. Call ONCE at app init in a Next.js host
* — subsequent calls overwrite the registration silently. Safe to skip
* entirely in non-Next environments.
*/
export declare function registerImage(component: ComponentType): void;
declare const Image: import("react").ForwardRefExoticComponent, "placeholder" | "src"> & {
src?: string | {
src: string;
};
alt?: string;
width?: number | string;
height?: number | string;
fill?: boolean;
sizes?: string;
quality?: number;
priority?: boolean;
loading?: "eager" | "lazy";
placeholder?: "blur" | "empty" | `data:image/${string}`;
blurDataURL?: string;
unoptimized?: boolean;
onLoadingComplete?: (img: HTMLImageElement) => void;
loader?: unknown;
} & import("react").RefAttributes>;
export default Image;
//# sourceMappingURL=next-image.d.ts.map