import { Color } from "chess-fen/types"; import { MoveInterface } from "./types"; export interface MoveConstructor extends Partial> { variationId: string; number: number; color: Color; name: string; } export declare const isFirstMove: (move: Move) => boolean; export declare const hasSameNumberAndColor: (move1: Move, move2: Move) => boolean; export declare class Move implements MoveInterface { readonly id: string; readonly variationId: string; number: number; color: Color; name: string; comment?: string; variations: string[]; annotation?: string; constructor({ variationId, number, color, name, comment, annotation, variations }: MoveConstructor); static isRoot(move: Move): boolean; static root(): Move; }