import { BadgeProps } from '../badge';
import { ImageProps } from '../image';
import { TNode, ShapeEnum } from '../common';
export interface TdAvatarProps {
    alt?: string;
    badgeProps?: BadgeProps;
    hideOnLoadFailed?: boolean;
    icon?: TNode;
    image?: string;
    imageProps?: ImageProps;
    shape?: ShapeEnum;
    size?: string;
    onError?: (context: {
        e: Event;
    }) => void;
}
export interface TdAvatarGroupProps {
    cascading?: CascadingValue;
    collapseAvatar?: string | TNode;
    max?: number;
    shape?: ShapeEnum;
    size?: string;
    onCollapsedItemClick?: (context: {
        e: MouseEvent;
    }) => void;
}
export type CascadingValue = 'left-up' | 'right-up';
