import "client-only"; import React, { ReactNode } from "react"; import { Game } from "../../nlcore/game"; /** * Context type definition for game state management */ type GameContextType = Game; /** * Game state provider component * Provides game state context to all child components * @param children - React children components * @param game - Optional initial game instance */ export declare function GameProvider({ children, game }: { children?: ReactNode; game?: Game; }): React.JSX.Element; /** * Custom hook to access game state context * @returns GameContextType object containing game instance and setter * @throws Error if used outside of GameProvider */ export declare function useGame(): GameContextType; export {};