/** * Move generation for all piece types * * This module generates all legal moves for a given position using * bitboard-based algorithms for performance. */ import { InternalBoard, SquareIndex, InternalMove } from '../types'; /** * Generate all legal moves for the current position * * @param board - Board state * @returns Array of legal moves */ export declare function generateLegalMoves(board: InternalBoard): InternalMove[]; /** * Generate all pseudo-legal moves (may leave king in check) * * @param board - Board state * @returns Array of pseudo-legal moves */ export declare function generatePseudoLegalMoves(board: InternalBoard): InternalMove[]; /** * Get all legal moves for a specific piece * * @param board - Board state * @param square - Square of the piece * @returns Array of legal moves for that piece */ export declare function getMovesForPiece(board: InternalBoard, square: SquareIndex): InternalMove[]; /** * Check if a move is legal * * @param board - Board state * @param from - From square * @param to - To square * @returns true if move is legal */ export declare function isMoveLegal(board: InternalBoard, from: SquareIndex, to: SquareIndex): boolean; /** * Apply a move to the board with full state updates (mutates the board) * Updates turn, castling rights, en passant, move counters, and game status * * @param board - Board state to modify * @param move - Move to apply * @returns The applied move */ export declare function applyMoveComplete(board: InternalBoard, move: InternalMove): InternalMove; //# sourceMappingURL=MoveGenerator.d.ts.map