import { type League } from "./types/league"; import { type MatchDetails } from "./types/match-details"; import { type Matches } from "./types/matches"; import { type Player } from "./types/player"; import { type Team } from "./types/team"; import { type Transfers } from "./types/transfers"; import { type AllLeagues } from "./types/all-leagues"; import { WorldNews } from "./types/world-news"; import { TeamSeasonStats } from "./types/team-season-stats"; export default class Fotmob { matchesUrl: string; leaguesUrl: string; allLeaguesUrl: string; teamsUrl: string; playerUrl: string; teamsSeasonStatsUrl: string; matchDetailsUrl: string; searchUrl: string; transfersUrl: string; worldNewsUrl: string; map: Map; constructor(); checkDate(date: string): RegExpExecArray | null; safeTypeCastFetch(url: string, fn: (data: string) => T): Promise; getMatchesByDate(date: string): Promise; getLeague(id: number, tab?: string, type?: string, timeZone?: string): Promise; getAllLeagues(): Promise; getTeam(id: number, tab?: string, type?: string, timeZone?: string): Promise; getTeamSeasonStats(teamId: number, seasonId: number): Promise; getPlayer(id: number): Promise; getMatchDetails(matchId: number): Promise; getWorldNews({ page, lang }?: { page?: number | undefined; lang?: string | undefined; }): Promise; getTransfers({ page, lang }?: { page?: number | undefined; lang?: string | undefined; }): Promise; request(path: string, params: Record): Promise; }