import * as cg from 'chessground/types'; import { Chess as ChessEngine } from '../chess/Chess'; import { IGameData } from '../types/Interfaces'; export interface GameState { engine: ChessEngine; fen: string; lastMove?: cg.Key[]; isCheck?: cg.Color | boolean; } export declare const getGameState: (engine: ChessEngine) => { lastMove: cg.Key[] | undefined; fen: string; isCheck: boolean | "white" | "black"; }; export declare const createGameState: (settings: IGameData) => GameState;