import { ComponentProps, ElementType } from "react"; import { HeightProp, ObjectFitProp, ObjectPositionProp, ResponsiveProp, WidthProp } from "../../styling"; import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps } from "../../shared"; export declare type AbstractImageProps = SlotProps & InternalProps & Omit, "height" | "objectFit" | "objectPosition" | "src" | "width"> & { /** * A text description of the image. */ alt: string; /** * The image height. */ height?: HeightProp; /** * See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit). */ objectFit?: ObjectFitProp; /** * See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position). */ objectPosition?: ObjectPositionProp; /** * The image shape. */ shape?: "straight" | "rounded" | "circular"; /** * An image path. */ src?: ResponsiveProp; /** * One or more strings separated by commas, indicating possible image sources for the user agent to use. */ srcSet?: string; /** * The image width. */ width?: WidthProp; }; declare const DefaultElement = "img"; export declare type InnerImageProps = AbstractImageProps; export declare function InnerImage({ as, forwardedRef, shape, src, ...rest }: InnerImageProps): JSX.Element; export declare namespace InnerImage { var defaultElement: string; } /** * Use this component to display an image. * * [Documentation](https://orbit.sharegate.design/?path=/docs/image--shape) */ export declare const Image: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; export declare type ImageProps = ComponentProps; export {};