import type React from 'react'; import type { DataRoomDocCardItem } from '../types/entities/data-room-doc'; export interface DataRoomDocCardAnchorProps { href: string; target?: '_blank'; rel?: 'noopener noreferrer'; onClick?: (e: React.MouseEvent) => void; } export interface DataRoomDocCardProps { item: DataRoomDocCardItem; className?: string; /** Pre-composed badge label. REQUIRED — the consumer resolves * `sourceRepo` against its `SOURCE_LABELS_BY_TABLE` registry and * passes the result here. * * Why required (no default): if the badge silently defaulted to a * literal like "Data room", a card sourced from openframe-docs (or * any other repo) whose `sourceRepo` resolution failed would * display the wrong provenance label — a real security signal, * because "Data Room" implies private/internal documents to * end-users. Forcing the consumer to supply the label means a * bug at the resolution step surfaces as a TypeScript error * ("badgeText required") instead of a falsely-labeled production * card. The hub-side dispatcher already passes * `getSourceLabel(sourceRepo)` with a non-null fallback. */ badgeText: string; /** Pre-composed `` prop bundle. When provided, the outer renders * as ``; otherwise the card is non-interactive. */ anchorProps?: DataRoomDocCardAnchorProps; } export declare function DataRoomDocCard({ item, className, badgeText, anchorProps }: DataRoomDocCardProps): React.JSX.Element; export declare function DataRoomDocCardSkeleton({ className }: { className?: string; }): React.JSX.Element; //# sourceMappingURL=data-room-doc-card.d.ts.map