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