import InfoAttr from "./InfoAttr"; export default class ScoreInfoAttr extends InfoAttr { /** The score in centipawns. */ readonly centipawn?: number; /** * The number of moves until checkmate. A negative value indicates the engine will be * checkmated. */ readonly mate?: number; /** The lower bound score. */ readonly lowerBound: boolean; /** The upper bound score. */ readonly upperBound: boolean; constructor( /** The score in centipawns. */ centipawn?: number, /** * The number of moves until checkmate. A negative value indicates the engine will be * checkmated. */ mate?: number, /** The lower bound score. */ lowerBound?: boolean, /** The upper bound score. */ upperBound?: boolean); }