/** * RecommendationCard Component * * Displays a single plugin recommendation with reasons and actions. * * @since v1.66.2 */ import type React from 'react'; import type { Recommendation } from '../../../core/recommendations/recommendation-types.js'; import type { Tier } from '../../../core/types/auth.js'; export interface RecommendationCardProps { /** The recommendation to display */ recommendation: Recommendation; /** Whether this card is focused/selected */ isFocused?: boolean; /** Whether this card is in compact mode */ compact?: boolean; /** Maximum width for the card */ maxWidth?: number; /** User's subscription tier */ tier?: Tier; /** Called when user wants to install */ onInstall?: () => void; /** Called when user dismisses */ onDismiss?: () => void; /** Called when user saves for later */ onSave?: () => void; /** Called when user wants more details */ onDetails?: () => void; } export declare function RecommendationCard({ recommendation, isFocused, compact, maxWidth, tier }: RecommendationCardProps): React.ReactElement; /** * Compact list item for recommendation */ export interface RecommendationListItemProps { recommendation: Recommendation; isFocused?: boolean; isSelected?: boolean; maxWidth?: number; } export declare function RecommendationListItem({ recommendation, isFocused, isSelected, maxWidth }: RecommendationListItemProps): React.ReactElement; //# sourceMappingURL=RecommendationCard.d.ts.map