type Badge = { tooltip: string; badge: string; }; type BadgeResult = Badge[] | Record; interface FetchBadgesOptions { nocache?: boolean; separated?: boolean; }