import { AvatarProps } from '@mui/material'; /** * Props for the {@link ElementAvatar} component. */ export type ElementAvatarProps = { /** * The id of the user. * Even though the field is called userId, it can also be used to display * avatars for rooms. */ userId: string; /** * The display name of the user. * If not provided, the userId is used instead. */ displayName?: string; /** * The url of the avatar. * If not provided, the initial letter based on the display name or userId is used instead. */ avatarUrl?: string; } & AvatarProps; /** * A component to display user and room avatars in the style of Element. * @param param0 - {@link ElementAvatarProps} */ export declare const ElementAvatar: import("react").ForwardRefExoticComponent & import("react").RefAttributes>;