import { RegionalUrls, PlatformUrls } from '../enums'; interface MatchParticipant { placement: number; level: number; last_round: number; time_eliminated: number; companion: Companion; traits: Array; players_eliminated: number; total_damage_to_players: number; units: Array; gold_left: number; } interface Unit { tier: number; items: Array; character_id: string; name: string; rarity: number; } interface Companion { skin_ID: number; content_ID: string; species: string; } interface Traits { tier_total: number; name: string; tier_current: number; num_units: number; } interface MatchMetaData { data_version: number | string; match_id: string; participants: Array; } interface MatchInfo { game_datatime: number; game_length: number; participants: Array; queue_id: number; tft_set_number: number; } export interface SummonerObj { readonly id?: string; readonly accountId?: string; readonly puuid?: string; readonly name?: string; profileIconId?: number; revisionDate?: number; summonerLevel?: number; } export interface RiotInterface { REGION_URL: RegionalUrls | string; PLATFORM_URL: PlatformUrls | string; getAllTftMatchesByPuuid(encryptedPUUID: string): Promise>; getTftByMatchId(matchId: string): Promise; getTftSummonerByName(summonerName: string): Promise; getTftSummonerByAccount(account: string): Promise; getTftSummonerByPuuid(puuid: string): Promise; getTftSummonerById(id: string): Promise; } export interface TFTMatch { readonly info: MatchInfo; readonly metadata: MatchMetaData; } export interface LeagueListDTO { leagueId: string; tier: string; entries: Array; queue: string; name: string; } interface LeagueItemDTO { summonerName: string; hotStreak: boolean; miniSeries: MiniSeriesDTO; wins: number; veteran: boolean; losses: number; freshBlood: boolean; inactive: boolean; rank: string; summonerId: string; leaguePoints: number; } interface MiniSeriesDTO { progress: string; losses: number; target: number; wins: number; } export interface LeagueEntryDTO { queueType: string; summonerName: string; hotStreak: boolean; miniSeries: MiniSeriesDTO; wins: number; veteran: boolean; losses: number; rank: string; leagueId: string; inactive: boolean; freshBlood: boolean; tier: string; summonerId: string; leaguePoints: number; } export {};