import ChessInstanceWrapper from "./chessWrapperBase"; import { Move, ShortMove, Square, Piece } from "chess.js"; import { IChessboardAsyncMethods, IBoardEvents } from "./interfaces"; import BoardEvents from "./boardEvents"; import RPCBoard from "./RPCBoard"; /** * Contains synchronized methods and event emmiter. */ declare abstract class GameClientBase extends ChessInstanceWrapper implements IChessboardAsyncMethods { protected abstract rpcManager: RPCBoard; protected abstract _events: BoardEvents; get events(): IBoardEvents; move(move: string | ShortMove, options?: { sloppy?: boolean; }): Promise; undo(): Promise; reset(): Promise; remove(square: Square): Promise; put(piece: Piece, square: Square): Promise; load_pgn(pgn: string, options?: { newline_char?: string; sloppy?: boolean; }): Promise; load(fen: string): Promise; clear(): Promise; set_headers(...args: string[]): Promise<{ [key: string]: string | undefined; } | boolean>; } export default GameClientBase; //# sourceMappingURL=gameClientBase.d.ts.map