import React, { ImgHTMLAttributes, RefObject } from "react"; export type ImageProps = ImgHTMLAttributes & { alt?: string; children?: React.ReactNode; containerRef?: RefObject; layout?: "cover" | "contain" | "stretchHorizontally" | "stretchVertically"; src: string; srcWidth?: number; srcHeight?: number; decoding?: "async" | "sync" | "auto"; loading?: "eager" | "lazy"; style?: React.CSSProperties; }; declare function ImageComponent({ src, alt, srcWidth, srcHeight, children, containerRef, layout, decoding, loading, style, ...otherImageProps }: ImageProps): JSX.Element; export default ImageComponent;