import { Koma } from './koma'; export declare class Player { /** player No. */ no: number; /** player's koma in hand */ hand: Array; /** visible field */ field: Array; /** hidden field */ hiddenfield: Array; /** number of koma left in hand */ handCounter: number; /** number of koma put on field */ fieldCounter: number; constructor(no: number, hand: string); private init(no, hand); putKoma(koma: Koma, faceDown?: boolean): void; pickLastKoma(): void; /** return true, if there is a given koma in tegoma */ hasKoma(koma: Koma): boolean; /** return true, if there is a given koma in tegoma */ hasKomaExact(koma: Koma): boolean; /** count a given koma in tegoma */ countKoma(koma: Koma): number; getUniqueHand(): Array; /** * get the hidden koma array(the places are indicated) * * @returns {Array} hidden koma: koma value / visible koma or empty: null */ getHiddenKoma(): Array; }