import { ViewProps, ImageProps, ImageSourcePropType } from 'react-native'; import { IBackgroundColors } from '../../base/colors'; import { IAvatarBorderVariants } from '../../base/borders'; import { MarginMixin, PaddingMixin } from '../../utils/spacing'; export declare type AvatarProps = { /** * The title or name to be used in the avatar. */ title: string; /** * The theme color for the avatar. * This property controls the border and glow colors for the component. */ color?: IBackgroundColors; /** * The variant property allows for consumers to choose from * a regular avatar, or a subtle variation. */ /** * Allows for controlling the border of the avatar. * `large` -> to use a thicker border. * `none` -> hides the border. */ borderVariant?: IAvatarBorderVariants; /** * Sets the source for the profile picture. */ src?: ImageSourcePropType; } & MarginMixin & PaddingMixin; declare type ImageAvatarProps = ImageProps & AvatarProps; declare type ViewAvatarProps = ViewProps & AvatarProps; /** * The Avatar component is used to represent a user. * * It displays a profile picture, or falls back to the user's initials * if a profile pic is not provided. */ export declare function Avatar(props: ImageAvatarProps | ViewAvatarProps): JSX.Element; export {}; //# sourceMappingURL=index.d.ts.map