/** * Generic compact entity/document card for any chat type that doesn't * warrant a bespoke component. * * PURE PRESENTATION. Receives pre-composed `` props via `anchorProps` * and renders the rest from the item shape. */ import React from 'react'; type BadgeScheme = 'success' | 'error' | 'warning' | 'cyan' | 'default'; export interface GenericEntityCardItem { id: string; title: string; preview?: string | null; url?: string | null; subtitle?: string | null; badge?: { text: string; scheme?: BadgeScheme; } | null; facts?: Array<{ label: string; value: string; }> | null; dateUpdated?: string | number | null; } export interface GenericEntityCardAnchorProps { href: string; target?: '_blank'; rel?: 'noopener noreferrer'; onClick?: (e: React.MouseEvent) => void; } export interface GenericEntityCardProps { item: GenericEntityCardItem; className?: string; anchorProps?: GenericEntityCardAnchorProps; } export declare function GenericEntityCard({ item, className, anchorProps }: GenericEntityCardProps): React.JSX.Element; export declare function GenericEntityCardSkeleton({ className }: { className?: string; }): React.JSX.Element; export {}; //# sourceMappingURL=generic-entity-card.d.ts.map