import { ComponentPropsWithoutRef } from 'react'; import { LayoutUtilProps, Size } from '../../../types'; /** * Props for the AvatarBase component * @extends ComponentPropsWithoutRef<"span"> * @extends Omit */ export type AvatarBaseProps = ComponentPropsWithoutRef<"span"> & Omit & { /** * Full name * @accessibility This is used for alt text and Screenreader */ name: string; /** * Custom color of the AvatarBase */ color?: string; /** * Image source to be used for AvatarBase */ image?: string; /** * Initials to display if no image is provided */ initials?: string; /** * @default medium */ size?: Extract; /** * Online status of the AvatarBase */ status?: "online" | "offline"; }; /** * Base Avatar component that handles the core avatar functionality. * * Features: * - Renders user avatars with images or initials * - Supports custom colors with accessible contrast * - Shows online/offline status indicator * - Handles image loading errors gracefully * - Supports light and dark themes * - Fully accessible with screen reader support * * @example * */ export declare const AvatarBase: import('react').ForwardRefExoticComponent, HTMLSpanElement>, "ref"> & Omit & { /** * Full name * @accessibility This is used for alt text and Screenreader */ name: string; /** * Custom color of the AvatarBase */ color?: string; /** * Image source to be used for AvatarBase */ image?: string; /** * Initials to display if no image is provided */ initials?: string; /** * @default medium */ size?: Extract; /** * Online status of the AvatarBase */ status?: "online" | "offline"; } & import('react').RefAttributes>;