import { Minehut } from '../Minehut'; import { Player } from './Player'; import { CosmeticResponse } from './CosmeticResponse'; /** * The Minehut Player Manager */ export declare class PlayerManager { client: Minehut; constructor(client: Minehut); /** * Get a Minehut player by their username or UUID * @param player the username or UUID of the player * @returns {Promise} * @throws {Error} If the request fails * @example const player = await minehut.players.get('_Tarna_'); */ get(player: string): Promise; /** * Get a list of cosmetics of a player * @param player the username or UUID of the player * @returns {Promise} * @throws {Error} If the request fails * @example const cosmetics = await minehut.players.getCosmetics('Puremin0rez'); */ getCosmetics(player: string): Promise; /** * Fetch the UUID of a player by their username * @param player the username of the player * @param withDashes whether to include dashes in the UUID * @returns {Promise} * @throws {Error} If the request fails * @example const uuid = await minehut.players.getUUID('lilrosalyn'); */ getUUID(player: string, withDashes?: boolean): Promise; }