import { CompetitionSport } from "../../competition/sport"; import { GameState } from "../../game/state"; import { Place } from "../../place"; import { PlaceLocation } from "../../place/location"; import { Poule } from "../../poule"; import { HorizontalPoule } from "../../poule/horizontal"; import { HorizontalMultipleQualifyRule } from "../../qualify/rule/horizontal/multiple"; import { VerticalMultipleQualifyRule } from "../../qualify/rule/vertical/multiple"; import { VerticalSingleQualifyRule } from "../../qualify/rule/vertical/single"; import { RoundRankingItem } from "../item/round"; import { SportRoundRankingItem } from "../item/round/sport"; import { Cumulative } from "./cumulative"; import { SportRoundRankingCalculator } from "./round/sport"; export declare class RoundRankingCalculator { protected gameStates: GameState[]; protected cumulative: Cumulative; constructor(gameStates?: GameState[], cumulative?: Cumulative); protected getSportRoundRankingCalculator(competitionSport: CompetitionSport): SportRoundRankingCalculator; getPlacesForPoule(poule: Poule): Place[]; getItemsForPoule(poule: Poule): RoundRankingItem[]; getPlacesForMultipleRule(multipleRule: HorizontalMultipleQualifyRule | VerticalMultipleQualifyRule | VerticalSingleQualifyRule): Place[]; getPlaceLocationsForRankedRule(rankedRule: HorizontalMultipleQualifyRule | VerticalMultipleQualifyRule | VerticalSingleQualifyRule): PlaceLocation[]; getPlacesForHorizontalPoule(horizontalPoule: HorizontalPoule): Place[]; getItemsForHorizontalPoule(horizontalPoule: HorizontalPoule): RoundRankingItem[]; getItemByRank(rankingItems: RoundRankingItem[], rank: number): RoundRankingItem | undefined; protected convertSportRoundRankingsToRoundItems(places: Place[], sportRoundRankings: (SportRoundRankingItem[])[]): RoundRankingItem[]; protected getRoundRankingItemMap(places: Place[], sportRoundRankings: (SportRoundRankingItem[])[]): RoundRankingItemMap; protected rankItems(cumulativeRoundRankingItems: RoundRankingItem[]): RoundRankingItem[]; protected compareBy(a: RoundRankingItem, b: RoundRankingItem): number; protected differs(a: RoundRankingItem, b: RoundRankingItem | undefined): boolean; } export interface RoundRankingItemMap { [key: string]: RoundRankingItem; }