import { BoxProps } from "../Box"; import { SvgProps } from "../Svg"; import { AvatarSize, AVATAR_TYPE } from "./types"; export declare const SystemIconConveyor: (props: SvgProps) => JSX.Element; export declare const SystemIconAptible: (props: SvgProps) => JSX.Element; export interface SharedAvatarProps extends BoxProps { size?: AvatarSize; square?: boolean; bordered?: boolean; alt?: string; } declare type AnonymousAvatarProps = SharedAvatarProps & { type: AVATAR_TYPE.ANONYMOUS; }; declare type SystemAvatarProps = SharedAvatarProps & { type: AVATAR_TYPE.SYSTEM; }; interface UserAvatarComponentProps extends GravatarOrInitialsProps { imgSrc?: string; enableTooltip?: boolean; } declare type UserAvatarProps = SharedAvatarProps & UserAvatarComponentProps & { type: AVATAR_TYPE.USER; }; export declare type AvatarProps = AnonymousAvatarProps | SystemAvatarProps | UserAvatarProps; interface InitialsProps { email: string; name?: string; firstInitial?: string; lastInitial?: string; } interface GravatarOrInitialsProps extends InitialsProps { size?: AvatarSize; alt?: string; } export declare const SystemAvatarConveyor: () => JSX.Element; export declare const SystemAvatarAptible: () => JSX.Element; export declare const AvatarWrapper: ({ children, size, square, bordered, className, ...rest }: SharedAvatarProps) => JSX.Element; export declare const Avatar: { ({ size: sizeProp, square, bordered, className, style, alt, ...rest }: AvatarProps): JSX.Element; Group: ({ children, spacing, size, className, ...rest }: import("./AvatarGroup").AvatarGroupProps) => JSX.Element; }; export {};