export declare namespace Colors { type None = undefined; type White = 0; type Black = 1; type BW = White | Black; type Name = "white" | "black"; type Char = "w" | "b"; } export declare namespace Pieces { type Empty = undefined; type King = 0x01; type Queen = 0x02; type Rook = 0x03; type Bishop = 0x04; type Knight = 0x05; type Pawn = 0x06; type WKing = 0x01; type WQueen = 0x02; type WRook = 0x03; type WBishop = 0x04; type WKnight = 0x05; type WPawn = 0x06; type BKing = 0x09; type BQueen = 0x0A; type BRook = 0x0B; type BBishop = 0x0C; type BKnight = 0x0D; type BPawn = 0x0E; type PieceType = King | Queen | Rook | Bishop | Knight | Pawn; type Piece = WKing | WQueen | WRook | WBishop | WKnight | WPawn | BKing | BQueen | BRook | BBishop | BKnight | BPawn; } export declare namespace Squares { type Empty = undefined; type Rank = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7; type RankChar = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8"; type Fyle = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7; type FyleChar = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h"; type A1 = 0x00; type A2 = 0x01; type A3 = 0x02; type A4 = 0x03; type A5 = 0x04; type A6 = 0x05; type A7 = 0x06; type A8 = 0x07; type B1 = 0x08; type B2 = 0x09; type B3 = 0x0a; type B4 = 0x0b; type B5 = 0x0c; type B6 = 0x0d; type B7 = 0x0e; type B8 = 0x0f; type C1 = 0x10; type C2 = 0x11; type C3 = 0x12; type C4 = 0x13; type C5 = 0x14; type C6 = 0x15; type C7 = 0x16; type C8 = 0x17; type D1 = 0x18; type D2 = 0x19; type D3 = 0x1a; type D4 = 0x1b; type D5 = 0x1c; type D6 = 0x1d; type D7 = 0x1e; type D8 = 0x1f; type E1 = 0x20; type E2 = 0x21; type E3 = 0x22; type E4 = 0x23; type E5 = 0x24; type E6 = 0x25; type E7 = 0x26; type E8 = 0x27; type F1 = 0x28; type F2 = 0x29; type F3 = 0x2a; type F4 = 0x2b; type F5 = 0x2c; type F6 = 0x2d; type F7 = 0x2e; type F8 = 0x2f; type G1 = 0x30; type G2 = 0x31; type G3 = 0x32; type G4 = 0x33; type G5 = 0x34; type G6 = 0x35; type G7 = 0x36; type G8 = 0x37; type H1 = 0x38; type H2 = 0x39; type H3 = 0x3a; type H4 = 0x3b; type H5 = 0x3c; type H6 = 0x3d; type H7 = 0x3e; type H8 = 0x3f; type Square = A1 | A2 | A3 | A4 | A5 | A6 | A7 | A8 | B1 | B2 | B3 | B4 | B5 | B6 | B7 | B8 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | E1 | E2 | E3 | E4 | E5 | E6 | E7 | E8 | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | G1 | G2 | G3 | G4 | G5 | G6 | G7 | G8 | H1 | H2 | H3 | H4 | H5 | H6 | H7 | H8; type FromTo = { from: Square; to: Square; promo?: Pieces.PieceType; }; } export declare namespace Directions { type Null = 0; type Up = 1; type Down = 2; type Left = 4; type UpLeft = 5; type DownLeft = 6; type Right = 8; type UpRight = 9; type DownRight = 10; type Direction = Null | Up | Down | Left | UpLeft | DownLeft | Right | UpRight | DownRight; }