/** * Avatar — ported 1:1 from Veryfront Studio's `UserAvatar`. The one generic * avatar for users, agents, and entities: shows an image when available, else * initials (two-letter for `primary` tone, single capital for `muted`). * Studio's `vf-avatar-initial` container-query sizing is simplified to a fixed * `text-xs` for v1. Private to the chat module. * * @module react/components/ui/avatar */ import * as React from "react"; /** Props accepted by ``. */ export interface AvatarProps extends React.HTMLAttributes { name: string; avatarSrc?: string; accentColor?: string; /** `filled` fills with accent (default); `bordered` shows an accent ring. */ variant?: "filled" | "bordered"; /** `primary` brand bg + two-letter initials; `muted` grey bg + one letter. */ tone?: "primary" | "muted"; ref?: React.Ref; } /** Render a user / agent / entity avatar. */ export declare function Avatar({ className, style, name, avatarSrc, accentColor, variant, tone, ref, ...props }: AvatarProps): React.ReactElement; //# sourceMappingURL=avatar.d.ts.map