import * as react from 'react'; import { ReactNode, ComponentProps } from 'react'; import { AbstractImageProps } from './Image.js'; import { OmitInternalProps } from '../../shared/src/types.js'; import 'react/jsx-runtime'; import '../../styling/src/styled-system/props-handler.js'; import 'csstype'; import '../../styling/src/useResponsiveValue.js'; import '../../styling/src/BreakpointProvider.js'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; declare const DefaultElement = "img"; interface InnerAsyncImageProps extends AbstractImageProps { /** * React children. */ children: ReactNode; /** * The number of milliseconds to delay the rendering of the fallback. */ delay?: number; /** * The allowed number of retry to load the async image. */ retryCount?: number; } declare const AsyncImage: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type AsyncImageProps = ComponentProps; export { AsyncImage, type AsyncImageProps, type InnerAsyncImageProps };