import React from 'react'; import type { Color } from '../_styles/colors'; import type { AvatarStackItem, AvatarStackItemId, AvatarStackItemType, AvatarStackProps, AvatarStackSize, FoldedAvatarStackProps, ViewAllModalProps } from './AvatarStack.types'; export declare function getOverflowValues(items: Item[]): { visibleItems: Item[]; foldedItems: Item[]; restCountLabel: string | null; isViewAllNeeded: boolean; }; export declare function getIcon(type: AvatarStackItemType, size: 'md' | 'sm'): React.JSX.Element | null; export declare function getAvatarIcon(type: AvatarStackItemType, size: AvatarStackSize): React.JSX.Element | null; export declare function getColorOrder(avatarItems: AvatarStackItem[]): Map; export declare function AvatarStackContactItem({ id, type, imageUrl, initials, inactive, name, linkUrl, description, }: AvatarStackItem): React.JSX.Element; export declare function AvatarContent({ imageUrl, initials, type, size, ...props }: { imageUrl?: AvatarStackItem['imageUrl']; initials: AvatarStackItem['initials']; type: AvatarStackItem['type']; size: AvatarStackSize; }): React.JSX.Element | null; export declare function FoldedAvatarStack({ items, onClickViewAll, size, restCountLabel, isViewAllNeeded, title, viewMoreTriggerRef, }: FoldedAvatarStackProps): React.JSX.Element; export declare function ViewAllModal({ isOpen, onClose, title, items, }: ViewAllModalProps): React.JSX.Element; export declare function defaultInitials(item: Item): string; export declare function defaultGetImageUrl(item: Item): string; export declare function getTransformedItems({ items, getInitials, getImageUrl, }: { items: Item[]; getInitials: AvatarStackProps['getInitials']; getImageUrl: AvatarStackProps['getImageUrl']; }): (Item & { initials: string; imageUrl: string; })[]; declare const _AvatarStack: ({ items: _items, title, size, getInitials, getImageUrl, onClickViewAll, ...props }: AvatarStackProps, ref: React.ForwardedRef) => React.JSX.Element; /** We use avatars to visually represent our users, places, and things in the app. These can be in the form of rich media or representative illustrations. @since 10.19.0 @see [Storybook](https://procore.github.io/core/latest/?path=/story/demos-avatarstack--demo) @see [Design Guidelines](https://design.procore.com/avatar-stack) */ export declare const AvatarStack: (props: AvatarStackProps & { ref?: React.ForwardedRef | undefined; }) => ReturnType; export {};