import * as React from 'react'; import { type CommentActionLabels } from './CommentActionButtons'; export type CommentProps = { userName: string; userImage: number | null; userImageFileId?: number | null; buildingId?: number; text: string; createdAt: string | Date; onRemove?: () => void; onClose?: () => void; /** Called when the collapsed avatar is single-clicked (select the comment). */ onSelect?: () => void; /** Called on double-click — used to zoom/focus the comment in the viewer. */ onFocus?: () => void; /** Reply to the comment (in-viewer card opens the reply box in the sidebar). */ onReply?: () => void; /** Edit the comment (in-viewer card opens the editor in the sidebar). */ onEdit?: () => void; enableCollapse?: boolean; defaultCollapsed?: boolean; isPending?: boolean; highlight?: boolean; /** Double-clicked/zoomed comment: renders the thicker focus ring. */ focused?: boolean; /** Render the close/reply/edit/delete action row (used by the in-viewer BIM card). */ showActions?: boolean; canReply?: boolean; canEdit?: boolean; canDelete?: boolean; actionLabels?: CommentActionLabels; /** Slot rendered inside the card, above the content. Used by the map popup switcher. */ header?: React.ReactNode; }; export default function Comment({ header, text, createdAt, userName, userImage, userImageFileId, onRemove, onClose, onSelect, onFocus, onReply, onEdit, enableCollapse, defaultCollapsed, isPending, highlight, focused, showActions, canReply, canEdit, canDelete, actionLabels, }: CommentProps): React.JSX.Element; //# sourceMappingURL=Comment.d.ts.map