import React from 'react'; import { type AvatarPropTypes } from '@atlaskit/avatar/avatar'; import type { SizeType } from '@atlaskit/avatar/types'; /** * The set of avatar sizes supported by `TeamAvatar`. * * `TeamAvatar` intentionally does not support the `UNSAFE_xsmall` (20px) avatar * size: there is no dedicated 20px team-avatar square artwork. * * TODO(HDS-4629): `UNSAFE_xsmall` is a temporary, private avatar size that will * eventually be renamed (`xsmall` -> `xxsmall`, `UNSAFE_xsmall` -> `xsmall`). * When that migration happens, revisit whether `TeamAvatar` should support it. * Cleanup tracked at: * https://hello.atlassian.net/wiki/spaces/DST/pages/7289318824 */ export type TeamAvatarSize = Exclude; export type TeamAvatarProps = Omit & { teamId?: string; compact?: boolean; size?: TeamAvatarSize; }; export declare const ICON_BACKGROUND: 'var(--ds-icon-inverse)'; export declare const ICON_COLOR: 'var(--ds-icon-subtle)'; export default function TeamAvatar({ testId, src, size, teamId, compact, ...props }: TeamAvatarProps): React.JSX.Element;