import React from "react";
import { Size } from "../../utils/sizeToNumeric";
/**
 * Internal component, DO NOT USE!
 */
export declare const ImageOrIcon: React.ForwardRefExoticComponent<AvatarProps & {
    className?: string | undefined;
    style?: React.CSSProperties | undefined;
    otherProps?: React.HTMLAttributes<HTMLImageElement> | undefined;
} & React.RefAttributes<HTMLImageElement>>;
export declare type AvatarProps = {
    /** An HTML ID attribute that will be attached to the the rendered component. Useful for targeting it from tests */
    id?: string;
    /** URL to the image resource to display */
    url?: string;
    /** A small description of this image */
    label: string;
    /** Size of the Avatar */
    size?: Size;
    /** Name of the user this Avatar belongs to */
    name?: string;
    /** Email of the user this Avatar belongs to */
    email?: string;
};
export declare function Avatar({ id, url, label, size, name, email, }: AvatarProps): JSX.Element;
