import React from 'react'; import { ImageRequireSource } from 'react-native'; import { CommonProps } from '../../props/common/types'; import { type AvatarSize as CoreAvatarSize } from '@preply/ds-core'; export type AvatarSize = Exclude; export type AvatarProps = CommonProps & { /** The size of the avatar */ size?: AvatarSize; /** * The avatar image URL. * If not provided, the default placeholder image is used instead. */ src?: string | ImageRequireSource; /** * A description of the image. * This is recommended for accessibility purposes, specifically for users * of screen readers. * * @example * */ alt?: string; }; export declare const Avatar: ({ src, size, alt, testID }: AvatarProps) => React.JSX.Element; //# sourceMappingURL=Avatar.d.ts.map