/** * What to call a player. * * A player without a name is the ordinary case — a bot, or someone who has not signed in — and what they * are called then is their identity in the game: "White Tiger", not "Player 2". Where that text lives * depends on which spec the game declares. A v1 `OptionsSpec` carried the label itself; a v2 spec carries * structure only, and the text sits in the game's published options document under `identities.`. * * Both are read, because both are in the wild: react-game ships independently of the games, so a front * built against an older rules package still hands over a v1 spec. */ export declare function usePlayerName(playerId: PlayerId): string;