/** Year-in-review stats computation shared by text and card tools */ import type { AniListMediaListEntry } from "../types.js"; /** Computed year-in-review stats */ export interface WrappedStats { year: number; animeCount: number; mangaCount: number; totalEpisodes: number; totalChapters: number; avgScore: number; scoredCount: number; topRated: { title: string; score: number; coverUrl: string | null; } | null; controversial: { title: string; userScore: number; communityScore: number; gap: number; direction: "above" | "below"; coverUrl: string | null; } | null; topGenres: Array<{ name: string; count: number; }>; scoreDistribution: Record; } /** Compute year-in-review stats from completed entries */ export declare function computeWrappedStats(entries: AniListMediaListEntry[], year: number): WrappedStats;