import { default as React } from 'react'; import { AvatarProps } from '../Avatar/avatarTypes'; import { CardBackgroundProps } from '../CardBackground/CardBackground'; import { ChatCardDirection } from '../ChatCard/ChatCard.types'; export type { ChatCardDirection }; export interface ChatParticipantLink { label: string; href?: string; onClick?: (e: React.MouseEvent) => void; /** Ref al anchor o button del link — útil para anclar menús u overlays */ ref?: React.Ref; } export interface ChatGroupProps { direction: ChatCardDirection; avatar: AvatarProps; link: ChatParticipantLink; children: React.ReactNode; className?: string; } export interface ChatViewportProps extends React.HTMLAttributes { cardBackground?: Omit; children?: React.ReactNode; } /** @deprecated Usar `ChatViewportProps` */ export type ChatProps = ChatViewportProps; /** @deprecated Usar `ChatGroupProps` */ export type ChatParticipantProps = ChatGroupProps;