import type { BracketsState, Match, MatchInput, Player, PlayerInput, Rounds, RoundsInput, WinnerState } from '../types'; export declare class BracketService { normalizePlayer(raw: PlayerInput | null | undefined): Player | null; normalizeRounds(rawRounds: RoundsInput | null | undefined, options?: { thirdPlace?: boolean | MatchInput; }): { rounds: Rounds; thirdPlace: Match | null; }; setWinner(state: WinnerState, roundIndex: number | 'thirdPlace', matchIndex: number, playerId: string): WinnerState; getSerializableState(state: { titles: boolean | string[]; rounds: Rounds; thirdPlace?: Match | null; }): BracketsState; getSemifinalRoundIndex(rounds: Rounds): number | null; getFinalRoundIndex(rounds: Rounds): number | null; }