import * as React from 'react'; export interface AvatarRootProps extends Omit, 'prefix' | 'onChange'> { /** Image URL; initials are shown until it loads or when it fails. */ src?: string; /** Required whenever `src` is set (dev-warned otherwise). */ alt?: string; /** Full name used to derive initials for the fallback. */ name?: string; /** Avatar size. */ size?: 'sm' | 'md' | 'lg'; /** ms before the fallback appears while the image loads (BU). */ delay?: number; } declare function Root({ src, alt, name, size, delay, children, className, ref, ...rest }: AvatarRootProps & { /** Ref to the rendered root element. */ ref?: React.Ref | undefined; }): React.JSX.Element; export type AvatarImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error'; export interface AvatarImageProps extends Omit, 'className' | 'onChange'> { onLoadingStatusChange?: (status: AvatarImageLoadingStatus) => void; keepMounted?: boolean; className?: string; ref?: React.Ref | undefined; } export interface AvatarFallbackProps extends Omit, 'className' | 'onChange'> { /** ms before the fallback appears while the image loads. */ delay?: number | undefined; className?: string; ref?: React.Ref | undefined; } declare function Image(props: AvatarImageProps): React.JSX.Element; declare function Fallback(props: AvatarFallbackProps): React.JSX.Element; export declare const Avatar: { Root: typeof Root; Image: typeof Image; Fallback: typeof Fallback; }; export { Root as AvatarRoot, Image as AvatarImage, Fallback as AvatarFallback }; //# sourceMappingURL=Avatar.client.d.ts.map