import type { ImgHTMLAttributes, SourceHTMLAttributes } from "react";
import React from "react";
import type { Property } from "csstype";
import type { MQ, BorderRadius } from "../../types";
export type ImageProps = ImgHTMLAttributes & {
/** src for a placeholder image to be shown while loading the original image */
placeholderSrc?: string;
/** src for a fallback image if original image cannot be loaded */
fallbackSrc?: string;
/** provide props for source elements to define multiple srcsets */
sources?: SourceHTMLAttributes[];
/** lazy load image */
lazy?: boolean;
/** maps to object-fit css */
fit?: Property.ObjectFit | MQ;
/** maps to object-position css */
position?: Property.ObjectPosition | MQ;
borderRadius?: BorderRadius | MQ;
"data-e2e-test-id"?: string;
};
export declare const Image: React.ForwardRefExoticComponent & {
/** src for a placeholder image to be shown while loading the original image */
placeholderSrc?: string;
/** src for a fallback image if original image cannot be loaded */
fallbackSrc?: string;
/** provide props for source elements to define multiple srcsets */
sources?: SourceHTMLAttributes[];
/** lazy load image */
lazy?: boolean;
/** maps to object-fit css */
fit?: Property.ObjectFit | MQ;
/** maps to object-position css */
position?: Property.ObjectPosition | MQ;
borderRadius?: BorderRadius | MQ;
"data-e2e-test-id"?: string;
} & React.RefAttributes>;