/** * Analyze the result of the form execution to provide easy access to form data. */ export default class FormData { /** * The parts of the form. */ private readonly parts; /** * Create the analyzer with the data. * * @param data - The raw data. */ constructor(data: { [key: string]: string; }); /** * @returns The (sorted) identifiers of the players having data. */ get playerIds(): ReadonlyArray; /** * Get the values for the given player. It consists of a map of key and values pairs, which may be empty. * * @param playerId - The player identifier, which may be -Infinity for global values. * @returns The values for the players. */ getValuesFor(playerId: number): Map; }