import type { Move, Square, Color, CastlingRights, MoveOptions, MoveValidation } from '@/types/index'; import type { Board } from './board'; export declare class MoveGenerator { private board; private castlingRights; private enPassantSquare; constructor(board: Board, castlingRights: CastlingRights, enPassantSquare?: Square | null); generateLegalMoves(color: Color): Move[]; generateLegalMovesFrom(from: Square, color: Color): Move[]; isMoveLegal(from: Square, to: Square, color: Color): boolean; validateMove(move: MoveOptions, color: Color): MoveValidation; isCheckmate(color: Color): boolean; isStalemate(color: Color): boolean; private getEnPassantMove; private getCastlingMoves; private canCastleKingside; private canCastleQueenside; private isPawnPromotionRank; private isPawnPromotionRequired; } //# sourceMappingURL=moves.d.ts.map