import * as react from 'react'; import { ElementType, ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { HeightProp, ObjectFitProp, ObjectPositionProp, WidthProp } from '../../styling/src/styled-system/props-handler.js'; import { SlotProps, InternalProps, StyledComponentProps, OmitInternalProps } from '../../shared/src/types.js'; import { ResponsiveProp } from '../../styling/src/useResponsiveValue.js'; import 'csstype'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; import '../../styling/src/BreakpointProvider.js'; 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"; type InnerImageProps = AbstractImageProps; declare function InnerImage({ as, forwardedRef, shape, src, ...rest }: InnerImageProps): react_jsx_runtime.JSX.Element; declare namespace InnerImage { var defaultElement: string; } /** * Use this component to display an image. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/image--shape) */ declare const Image: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type ImageProps = ComponentProps; export { type AbstractImageProps, Image, type ImageProps, InnerImage, type InnerImageProps };