import Player from './Player'; import Tile from './Tile'; export default class Board { private size; tiles: Tile[]; /** * @param {number} size the height and width of the square board. */ constructor(size: number); static fromBoard(board: Board): Board; /** * @return size of the board. */ getSize: () => number; /** * Determine if a tile is in the board * @param {Tile} tile the board of the peice */ inBoard: (tile: Tile) => boolean; getPieces: (white: Player, black: Player) => string[]; /** * @param {Player} white White player * @param {Player} black player * @returns {String} the output string */ printBoard(white: Player, black: Player): string; }