import React from 'react'; import { BoxProps } from '../Box/Box'; import { AsyncImageSrc } from './useAsyncImage'; type CustomBorderColor = { custom: string; }; interface AsyncImageProps { alt?: string; src: string | AsyncImageSrc | undefined; width: BoxProps['width'] | number; height: BoxProps['height'] | number; background?: string; borderRadius?: BoxProps['borderRadius']; borderColor?: BoxProps['borderColor'] | CustomBorderColor; boxShadow?: BoxProps['boxShadow']; testId?: string; } export declare function AsyncImage({ alt, background, borderColor, borderRadius, boxShadow, height, src: srcProp, width, testId, }: AsyncImageProps): React.JSX.Element; export {};