import React$1 from 'react'; import { TypeContainerProps } from '@sproutsocial/seeds-react-box'; declare const AvatarColorOptions: { readonly auto: "auto"; readonly neutral: "neutral"; readonly purple: "purple"; readonly green: "green"; readonly blue: "blue"; readonly yellow: "yellow"; readonly red: "red"; readonly orange: "orange"; }; type TypeAvatarType = keyof typeof AvatarColorOptions; interface TypeAvatarProps extends TypeContainerProps { /** Circles are used for social profile avatars, leaf is for internal Sprout user avatars */ appearance?: "circle" | "leaf"; /** The name of the user that the avatar represents */ name?: string; /** The initials of the user that the avatar represents. * If not provided, the first letter of the first 1-2 words of the `name` prop will be used. */ initials?: string; /** URL of the avatar image. If a URL is not provided, the component will fall back to showing the user's initials */ src?: string; type?: TypeAvatarType; size?: string; /** Hides the avatar from assistive technologies when true */ "aria-hidden"?: boolean; } interface TypeAvatarContainerProps extends TypeContainerProps { $type: TypeAvatarType; $displayFallback: boolean; } declare const _default$1: React$1.MemoExoticComponent & React$1.RefAttributes>>; /** * Profile props for one half of a DualAvatar. `size` and `appearance` are owned by * DualAvatar so the pair always matches, and layout/system props are excluded * because the pair's positioning is owned by it too. */ type TypeDualAvatarProfileProps = Pick; interface TypeDualAvatarProps extends Omit, "aria-hidden"> { /** The main profile, filling the full `size` */ primary: TypeDualAvatarProfileProps; /** The overlapping profile, drawn over the primary's bottom-right corner */ secondary: TypeDualAvatarProfileProps; /** Shape of both avatars; the pair is always the same shape */ appearance?: TypeAvatarProps["appearance"]; /** Size of the primary avatar; the secondary is sized as a fraction of it */ size?: string; /** Hides both avatars from assistive technologies when true */ "aria-hidden"?: boolean; } declare const _default: React$1.MemoExoticComponent>>; export { _default$1 as Avatar, AvatarColorOptions, _default as DualAvatar, type TypeAvatarContainerProps, type TypeAvatarProps, type TypeAvatarType, type TypeDualAvatarProfileProps, type TypeDualAvatarProps, _default$1 as default };