import React from "react"; import { ChatMessage } from "./GlassChat"; export interface GlassMessageListProps { /** * Messages to display */ messages?: ChatMessage[]; /** * Current user ID */ currentUserId?: string; /** * Enable message reactions */ enableReactions?: boolean; /** * Enable message replies */ enableReplies?: boolean; /** * Show message status */ showMessageStatus?: boolean; /** * Show timestamps */ showTimestamps?: boolean; /** * Show user avatars */ showAvatars?: boolean; /** * Enable message search */ enableSearch?: boolean; /** * Virtual scrolling */ virtualScroll?: boolean; /** * Message click handler */ onMessageClick?: (message: ChatMessage) => void; /** * Message reaction handler */ onMessageReaction?: (messageId: string, emoji: string) => void; /** * Message reply handler */ onMessageReply?: (messageId: string) => void; /** * Attachment download handler */ onAttachmentDownload?: (attachment: { url: string; name: string; }) => void; /** * Custom className */ className?: string; /** Compact density for constrained cards, drawers, and documentation previews. */ compact?: boolean; /** Keep the message list inside a bounded local surface. */ contained?: boolean; /** Alias for compact preview rendering. */ preview?: boolean; /** Maximum rendered height when contained or compact. */ maxHeight?: number | string; /** Maximum rendered width when contained or compact. */ maxWidth?: number | string; /** Optional density override for embedded surfaces. */ density?: "compact" | "comfortable" | "spacious"; /** * Custom data-testid for testing */ "data-testid"?: string; } /** * GlassMessageList component * A scrollable list of chat messages with reactions, replies, and attachments */ export declare const GlassMessageList: React.FC; export default GlassMessageList; //# sourceMappingURL=GlassMessageList.d.ts.map