import { ImgHTMLAttributes, ReactElement } from 'react'; /** * The Image component displays an image while also providing a * fallback that is used when the image is loading or fails to load. * All non-decorative images must have alt text. * * @example * * test image * test image * * @see https://neo-react-library-storybook.netlify.app/?path=/story/components-image--default-image */ export interface ImageProps extends ImgHTMLAttributes { src: string; fallback?: ReactElement | string; isDecorativeOrBranding?: boolean; thumbnail?: boolean; } export declare const Image: { ({ alt, className, fallback, isDecorativeOrBranding, onError, onLoad, src, style, thumbnail, ...rest }: ImageProps): import("react/jsx-runtime").JSX.Element; displayName: string; };