import * as cg from 'chessgroundx/types'; import { GameController } from './gameCtrl'; export interface Moves { normal?: cg.Key[]; special?: cg.Key[]; } export declare class Gating { private ctrl; private gating; private choices; constructor(ctrl: GameController); start(fen: cg.FEN, orig: cg.Key, dest: cg.Key): boolean; private inCastlingTargets; private canGate; private gate; private drawGating; private drawNoGating; private finish; private cancel; private squareView; private view; }