import { Group, Match, MatchGame } from 'brackets-model'; import { BaseGetter } from './base/getter'; export declare class Find extends BaseGetter { /** * Gets the upper bracket (the only bracket if single elimination or the winner bracket in double elimination). * * @param stageId ID of the stage. */ upperBracket(stageId: number): Promise; /** * Gets the loser bracket. * * @param stageId ID of the stage. */ loserBracket(stageId: number): Promise; /** * Returns the matches leading to the given match. * * @param matchId ID of the target match. */ previousMatches(matchId: number): Promise; /** * Returns the matches following the given match. * * @param matchId ID of the target match. */ nextMatches(matchId: number): Promise; /** * Finds a match in a given group. The match must have the given number in a round of which the number in group is given. * * **Example:** In group of id 1, give me the 4th match in the 3rd round. * * @param groupId ID of the group. * @param roundNumber Number of the round in its parent group. * @param matchNumber Number of the match in its parent round. */ match(groupId: number, roundNumber: number, matchNumber: number): Promise; /** * Finds a match game based on its `id` or based on the combination of its `parent_id` and `number`. * * @param game Values to change in a match game. */ matchGame(game: Partial): Promise; } //# sourceMappingURL=find.d.ts.map