/** * Genius Watch AI — Intelligent tech watch powered by AI * * Does what the Genius Veille does: searches the web for relevant AI/dev news, * filters by user's tech stacks, and summarizes with impact assessment. * * Requires: ANTHROPIC_API_KEY or OPENAI_API_KEY in vault or env */ export interface WatchDigest { date: string; items: WatchDigestItem[]; techStack: string[]; generatedAt: string; } export interface WatchDigestItem { title: string; source: string; summary: string; impact: 'high' | 'medium' | 'low'; impactExplanation: string; relevantRepos: string[]; url?: string; category: 'release' | 'security' | 'best-practice' | 'tool' | 'news'; } /** * Detect the tech stack across all repos */ export declare function detectTechStack(): string[]; /** * Generate a watch digest using AI * Falls back to a structured template if no API key available */ export declare function generateWatchDigest(): Promise; export declare function getLastDigest(): WatchDigest | null;