import type { ChessInstance } from 'chess.js'; declare type ChessboardStateFunctions = Pick; declare type RecordReturnTypes = { readonly [P in keyof T]: T[P] extends () => any ? ReturnType : T[P]; }; export declare type ChessboardState = RecordReturnTypes; export declare const getChessboardState: (chess: ChessInstance) => ChessboardState; export {};