import type { HTMLImgAttributes } from 'svelte/elements'; /** * Avatar component for displaying user profile images with fallback support. * * @packageDocumentation * * @example * ```svelte * * * * * * * * * ``` */ interface AvatarProps extends Omit { /** * Image source URL (optional). */ src?: string; /** * Alternative text for the image. */ alt?: string; /** * Fallback text to display when image fails to load or is not provided. * Typically initials (e.g., "JD" for John Doe). */ fallback: string; /** * Size variant of the avatar. */ size?: 'sm' | 'md' | 'lg' | 'xl'; /** * Additional CSS classes. */ class?: string; } declare const Avatar: import("svelte").Component; type Avatar = ReturnType; export default Avatar; //# sourceMappingURL=Avatar.svelte.d.ts.map