import type { Pgn } from '@/types/index'; import { Game } from './game'; export interface PgnTags { Event?: string; Site?: string; Date?: string; Round?: string; White?: string; Black?: string; Result?: string; [key: string]: string | undefined; } export interface PgnGame { tags: PgnTags; moves: string[]; result?: string; } export declare class PgnParser { static parse(pgn: Pgn): PgnGame; private static parseMoveText; private static removeVariations; private static isValidSanMove; static generate(game: Game, tags?: PgnTags): Pgn; private static generateMoveText; private static getResultString; private static moveToSan; static applySanMove(game: Game, san: string): boolean; private static tryCastling; private static parseSanMove; private static pieceCharToType; private static matchesMoveCriteria; static loadGame(pgn: Pgn): Game | null; static validate(pgn: Pgn): boolean; } //# sourceMappingURL=pgn.d.ts.map