import React from 'react';
import { GenericComponent } from '../../@types/types';
import { SIZES } from '../../constants';
interface AvatarImageProps {
    /** Component that will be placed top right of the avatar image. */
    children?: React.ReactNode;
    /** If true, an overlay will be shown with edit icon. */
    editable?: boolean;
    /** An image source or an image element. */
    image: string;
    /** An alternative text for the image element. */
    imageAlt?: string;
    /** Callback function that is fired when user clicks the edit icon. */
    onImageChange?: React.MouseEventHandler<HTMLDivElement>;
    /** Callback function that is fired the image fails to load. */
    onImageLoadFailure?: React.ReactEventHandler<HTMLImageElement>;
    /** The size of the avatar. */
    size: Exclude<typeof SIZES[number], 'fullscreen' | 'smallest'>;
}
declare const AvatarImage: GenericComponent<AvatarImageProps>;
export default AvatarImage;
