import { type HTMLAttributes } from 'react';
interface SquareAvatarProps extends HTMLAttributes {
src?: string;
alt?: string;
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
/** Exact pixel size (width & height). Overrides the `size` bucket dimensions —
* for callers with a numeric-px API (e.g. UserDisplay/MSPDisplay). */
sizePx?: number;
/**
* How the image fills the frame. `cover` (default) crops to fill — right for
* a portrait. `contain` fits the whole image — required for a LOGO or club
* crest, whose round border cover slices off.
*/
fit?: 'cover' | 'contain';
fallback?: string;
variant?: 'square' | 'round';
/** Override the initials-fallback styling (font size/color). Merged over the
* defaults (`text-xs font-medium text-ods-text-primary`) via tailwind-merge,
* so callers can shrink/recolor the initials for compact avatars. */
initialsClassName?: string;
}
declare const SquareAvatar: import("react").NamedExoticComponent>;
export { SquareAvatar };
//# sourceMappingURL=square-avatar.d.ts.map