import * as React from 'react';
import * as AvatarPrimitive from '@radix-ui/react-avatar';
/**
* User identity image with automatic fallback.
*
* @description
* Natively handles 404 errors and image loading timeouts by showing a
* text fallback (initials). Supports 5 sizes via the `size` prop.
*
* @ai-rules
* 1. NEVER use a raw `
` for user profile images — the internal fallback prevents broken UI.
* 2. Always compose as ` > + ` — both sub-components are required.
* 3. In ``, render initials (1–2 characters) using ``, not a full name.
*/
declare function Avatar({ className, size, ...props }: React.ComponentProps & {
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
}): import("react/jsx-runtime").JSX.Element;
declare function AvatarImage({ className, ...props }: React.ComponentProps): import("react/jsx-runtime").JSX.Element;
declare function AvatarFallback({ className, ...props }: React.ComponentProps): import("react/jsx-runtime").JSX.Element;
export { Avatar, AvatarImage, AvatarFallback };