import type { ReactElement, ReactNode } from 'react'; import React from 'react'; import type { StyleProp, ViewStyle } from 'react-native'; import type { AvatarProps } from '../Avatar'; export interface AvatarStackProps extends Pick { /** * Avatar elements to be rendered. */ children: ReactElement>[]; /** * Max avatars to show. */ max?: number; /** * The total number of avatars. Used for calculating the number of extra avatars. */ total?: number; /** * Custom renderer of extraAvatars. */ renderSurplus?: (value: number) => ReactNode; /** * Additional style. */ style?: StyleProp; /** * Testing id of the component. */ testID?: string; /** * Variant of the avatar stack. */ variant?: 'horizontal' | 'vertical'; } declare const AvatarStack: ({ children, max, size, style, testID, variant, total, renderSurplus, }: AvatarStackProps) => React.JSX.Element; export default AvatarStack;