import { SimpleMove } from './SimpleMove'; import { Colors } from '../types/Types'; import { Position } from './Position'; /** * Move in position */ export declare class Move { private vars; private varNo; private ply; private parent; private prev_move; private next_move; START_MARKER: boolean; END_MARKER: boolean; uid: string; id: string; name: string; whoMove: Colors.BW; comments: string; fen: string; sm: SimpleMove; /** * @constructor */ constructor(); static init(fen: string, parentOrPos: Move | Position): Move; isBegin(): boolean; isFirst(): boolean; isLast(): boolean; isEnd(): boolean; get Begin(): Move; get First(): Move; get Prev(): Move; get Next(): Move; get Last(): Move; get End(): Move; get PlyCount(): number; get numVars(): number; /** * Add and enter variation */ addVariation(): Move | null; /** * Enter variation */ moveIntoVariation(no: number): Move | null; /** * Exit variation */ exitVariation(): Move; /** * Is position inside variation */ inVariation(): boolean; truncate(): void; append(sm: SimpleMove): Move; get moveKey(): string; private get parentMoveKey(); }