import type { ComponentPropsWithoutRef } from 'react'; type AvatarSize = 'sm' | 'md' | 'lg'; interface AvatarBaseProps { className?: string; size?: AvatarSize; } interface AvatarImageProps extends Omit, 'src' | 'alt'>, AvatarBaseProps { type: 'image'; src: string; alt: string; } interface AvatarTextProps extends ComponentPropsWithoutRef<'div'>, AvatarBaseProps { type: 'text'; text: string; } type AvatarProps = AvatarImageProps | AvatarTextProps; declare function Avatar({ type, size, className, ...props }: AvatarProps): import("react/jsx-runtime").JSX.Element; export default Avatar; export type { AvatarProps, AvatarSize };