import { Player } from './player'; import '../algorithms/volatility'; /** * The class for teams */ declare class Team { private players; private rd; private rating; constructor(players?: Player[]); /** * Gets the avg rating deviation of the players in the team */ getRd(): number; /** * Gets the avg rating of the players in the team */ getRating(): number; /** * Gets the full array of players in the team */ getPlayers(): Player[]; /** * Makes a composite {@link Player} to use in {@link Glicko2.getTeamMatches} */ makeCompositeOpponent(): Player; /** * Adds a {@link Player} to the team */ addPlayer(player: Player): void; /** * Removes a {@link Player} from the team */ removePlayer(player: Player): void; } export { Team };