import { AxiosInstance } from 'axios'; import { Pager } from '../common/common'; export declare class LeagueTableAPI { private readonly apiClient; private readonly apiKey; static readonly URL: { LEAGUE_TABLE: string; }; constructor(apiClient: AxiosInstance, apiKey: string); getTable(request: LeagueTableAPIRequest): Promise; } export interface LeagueTableAPIRequest { season_id: number; max_time?: number; } export interface Table { id: number; seasonGoals_home: number; seasonGoals_away: number; seasonConceded_away: number; seasonConceded_home: number; seasonGoals: number; points: number; seasonConceded: number; seasonGoalDifference: number; seasonWins_home: number; seasonWins_away: number; seasonWins_overall: number; seasonDraws_home: number; seasonDraws_away: number; seasonDraws_overall: number; seasonLosses_away: number; seasonLosses_overall: number; seasonLosses_home: number; matchesPlayed: number; name: string; country?: any; cleanName: string; shortHand: string; url: string; seasonURL_overall: string; seasonURL_home: string; seasonURL_away: string; position: number; zone: any; corrections: number; wdl_record: string; } export interface SpecificTable { round: string; table: Table[]; groups?: any; } export interface AllMatchesTableOverall { id: number; seasonGoals_home: number; seasonGoals_away: number; seasonConceded_away: number; seasonConceded_home: number; seasonGoals: number; points: number; ppg_overall: number; seasonGoalDifference: number; seasonWins_home: number; seasonWins_away: number; seasonDraws_home: number; seasonDraws_away: number; seasonLosses_away: number; seasonLosses_home: number; matchesPlayed: number; name: string; country: string; cleanName: string; shortHand: string; url: string; seasonURL_overall: string; seasonURL_home: string; seasonURL_away: string; position: number; zone: any[]; corrections: number; } export interface AllMatchesTableHome { id: number; seasonGoals: number; seasonConceded: number; points: number; seasonGoalDifference: number; seasonWins: number; seasonDraws: number; seasonLosses_home: number; matchesPlayed: number; name: string; country: string; cleanName: string; shortHand: string; url: string; seasonURL_overall: string; seasonURL_home: string; seasonURL_away: string; position: number; zone: any[]; } export interface AllMatchesTableAway { id: number; seasonGoals: number; seasonConceded: number; points: number; seasonGoalDifference: number; seasonWins: number; seasonDraws: number; seasonLosses_away: number; matchesPlayed: number; name: string; country: string; cleanName: string; shortHand: string; url: string; seasonURL_overall: string; seasonURL_home: string; seasonURL_away: string; position: number; zone: any[]; } export interface LeagueTable { id: number; seasonGoals_home: number; seasonGoals_away: number; seasonConceded_away: number; seasonConceded_home: number; seasonGoals: number; points: number; ppg_overall: number; seasonGoalDifference: number; seasonWins_home: number; seasonWins_away: number; seasonDraws_home: number; seasonDraws_away: number; seasonLosses_away: number; seasonLosses_home: number; matchesPlayed: number; name: string; country: string; cleanName: string; shortHand: string; url: string; seasonURL_overall: string; seasonURL_home: string; seasonURL_away: string; position: number; zone: Zone; corrections: number; } export interface Zone { name: string; number: number; } export interface LeagueDetail { league_table?: LeagueTable[]; specific_tables: SpecificTable[]; all_matches_table_overall: AllMatchesTableOverall[]; all_matches_table_home: AllMatchesTableHome[]; all_matches_table_away: AllMatchesTableAway[]; } export interface LeagueTableAPIResponse { success: boolean; pager: Pager; data: LeagueDetail; message: string; }