UNPKG

@publishvue/chessground

Version:
7 lines (6 loc) 299 B
import * as cg from './types'; declare type Mobility = (x1: number, y1: number, x2: number, y2: number) => boolean; export declare const knight: Mobility; export declare const queen: Mobility; export declare function premove(pieces: cg.Pieces, key: cg.Key, canCastle: boolean): cg.Key[]; export {};