/** * RecommendationsView Component * * Main view for plugin recommendations with filtering 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 RecommendationsViewProps { /** Recommendations to display */ recommendations: Recommendation[]; /** Whether recommendations are loading */ loading?: boolean; /** Last refresh timestamp */ lastRefreshed?: Date; /** Called to refresh recommendations */ onRefresh?: () => void; /** Called when user wants to install a plugin */ onInstall?: (recommendation: Recommendation) => void; /** Called when user dismisses a recommendation */ onDismiss?: (recommendation: Recommendation) => void; /** Called when user saves a recommendation */ onSave?: (recommendation: Recommendation) => void; /** Called when user wants more details */ onDetails?: (recommendation: Recommendation) => void; /** Whether keyboard input is enabled */ inputEnabled?: boolean; /** Maximum height in lines */ maxHeight?: number; /** Terminal width */ terminalWidth?: number; /** User's subscription tier */ tier?: Tier; } export declare function RecommendationsView({ recommendations, loading, lastRefreshed, onRefresh, onInstall, onDismiss, onSave, onDetails, inputEnabled, maxHeight, terminalWidth, tier, }: RecommendationsViewProps): React.ReactElement; //# sourceMappingURL=RecommendationsView.d.ts.map