/** * RecommendationsContext * * Provides plugin recommendations and registry data to components consuming * the Recommendations tab. Extracted from HealthContext in v2.11.x. */ import { type ReactNode } from 'react'; import type { Recommendation } from '../../../core/recommendations/recommendation-types.js'; import type { RegistryPlugin } from '../../../core/registry/registry-types.js'; export interface RecommendationsContextValue { recommendations: Recommendation[]; recommendationsLoading: boolean; recommendationsLastRefreshed: Date | null; refreshRecommendations: () => void; dismissRecommendation: (pluginId: string) => void; saveRecommendation: (pluginId: string) => void; unsaveRecommendation: (pluginId: string) => void; registryPlugins: RegistryPlugin[]; installedAsRegistryPlugins: RegistryPlugin[]; } export declare function RecommendationsProvider({ children, value }: { children: ReactNode; value: RecommendationsContextValue; }): React.ReactElement; export declare function useRecommendationsContext(): RecommendationsContextValue; //# sourceMappingURL=recommendations-context.d.ts.map