import { Tournament } from './Tournament'; import { TournamentPlayer } from './TournamentPlayer'; import { ProtocolResponse } from '../Base/ProtocolResponse'; import { TournamentPrize } from './TournamentPrize'; import { TTournamentDetailed } from '../WSAPI/WSAPITypes'; import { ClanLeaderboardEntry, ClanPrizeStructureEntry } from './TournamentClan'; export interface GetTournamentInfoResponse extends ProtocolResponse { /** tournament info */ tournamentInfo: { /** id of label, not in use */ labelId: number; tournamentLobbyInfo: Tournament; /** list of registered users */ players: TournamentPlayer[]; }; /** information about current user position */ userPosition: TournamentPlayer; /** prizes structure */ prizeStructure?: { prizes: TournamentPrize[]; }; /** Ranked list of clans in this tournament. Empty/null for non-clan tournaments. */ clanLeaderboard?: ClanLeaderboardEntry[] | null; /** * The clan ID the current user belongs to. * null when the user has no clan or the tournament is not clan-based. * Match against clanLeaderboard[i].clan_id to highlight the user's clan row. */ userClanId?: number | null; /** Per-clan prize structure. Empty/null for non-clan tournaments. */ clanPrizes?: ClanPrizeStructureEntry[] | null; } export declare const tournamentInfoItemTransform: (t: GetTournamentInfoResponse) => TTournamentDetailed;