import { Match, MatchGame } from 'brackets-model'; import { Database, FinalStandingsItem, ParticipantSlot } from './types'; import { BaseGetter } from './base/getter'; export declare class Get extends BaseGetter { /** * Returns the data needed to display a stage. * * @param stageId ID of the stage. */ stageData(stageId: number): Promise; /** * Returns the data needed to display a whole tournament with all its stages. * * @param tournamentId ID of the tournament. */ tournamentData(tournamentId: number): Promise; /** * Returns the match games associated to a list of matches. * * @param matches A list of matches. */ matchGames(matches: Match[]): Promise; /** * Returns the seeding of a stage. * * @param stageId ID of the stage. */ seeding(stageId: number): Promise; /** * Returns the final standings of a stage. * * @param stageId ID of the stage. */ finalStandings(stageId: number): Promise; /** * Returns the seeding of a round-robin stage. * * @param stage The stage. */ private roundRobinSeeding; /** * Returns the seeding of an elimination stage. * * @param stage The stage. */ private eliminationSeeding; /** * Returns the final standings of a single elimination stage. * * @param stageId ID of the stage. */ private singleEliminationStandings; /** * Returns the final standings of a double elimination stage. * * @param stageId ID of the stage. */ private doubleEliminationStandings; /** * Returns only the data specific to the given stage (without the participants). * * @param stageId ID of the stage. */ private getStageSpecificData; } //# sourceMappingURL=get.d.ts.map