export interface TrendItem {
    source: string;
    title: string;
    description: string;
    url: string;
    score: number; // normalized 0–100
    timestamp: Date;
    category?: string;
    tags?: string[];
    engagement?: {
        upvotes?: number;
        comments?: number;
        shares?: number;
        views?: number;
    };
    raw?: Record<string, any>;
}

export interface CollectorResult {
    source: string;
    items: TrendItem[];
    collectedAt: Date;
    durationMs: number;
    error?: string;
}
