import { type ReactNode } from 'react'; import type { GameserverConnection } from '../types'; export interface GameContextValue { clickTarget: (target: unknown) => void; undoStep: () => void; allClickable: Set; currentMoveTargets: unknown[]; } export declare function GameProvider({ gameConnection, children, isSpectator, }: { gameConnection: GameserverConnection; children: ReactNode; isSpectator?: boolean; }): import("react/jsx-runtime").JSX.Element; export declare const useGame: () => GameContextValue; //# sourceMappingURL=game-context.d.ts.map