import { Animations, TutorialDescription } from '@gamepark/react-client'; import { RulesCreator } from '@gamepark/rules-api'; import React, { ComponentType } from 'react'; import { ItemLocatorRecord } from '../../locators'; import { LogDescription } from '../Log'; import { MaterialDescriptionRecord } from '../material'; import { ScoringDescription } from '../Scoring'; export type GameContext = { game: string; Rules: RulesCreator; material?: Partial>; materialI18n?: Record>>; locators?: Partial>; rulesHelp?: Record void; }>>; optionsSpec?: any; animations?: Animations; tutorial?: TutorialDescription; scoring?: ScoringDescription; logs?: LogDescription; hasSounds?: boolean; }; export type MaterialGameContext = GameContext & { material: Partial>; locators: Partial>; }; export declare const gameContext: React.Context>;