/** * FEN (Forsyth-Edwards Notation) parser and formatter * * FEN format: pieces turn castling enPassant halfMove fullMove * Example: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1 */ import { InternalBoard } from '../types'; /** * Parse a FEN string into an internal board * * @param fen - FEN string * @returns Internal board representation */ export declare function parseFEN(fen: string): InternalBoard; /** * Validate a FEN string. * * This is intended for user-provided input. It throws with a descriptive message * when the FEN is invalid. */ export declare function validateFEN(fen: string): void; /** * Convert an internal board to a FEN string * * @param board - Internal board * @returns FEN string */ export declare function toFEN(board: InternalBoard): string; /** * Get FEN for starting position * * @returns FEN string for standard chess starting position */ export declare function getStartingFEN(): string; //# sourceMappingURL=fen.d.ts.map