import { type CardPile, type CardPileConfig } from "../../cards/cardPile.js"; import { RaceState, type RaceStateConfig } from "../../game/race.js"; import { type TurnLoop, type TurnLoopConfig } from "../../turn/turnLoop.js"; /** @internal Lazily-created, id-keyed card-pile / turn-loop / race registries shared by `ctx.game.cards|turn|race` and their save modules. */ export interface ContextRegistries { pile(id: string, config?: CardPileConfig): CardPile; loop(id: string, config?: TurnLoopConfig): TurnLoop; raceState(id: string, config?: RaceStateConfig): RaceState; cardPiles: ReadonlyMap; turnLoops: ReadonlyMap; } /** @internal */ export declare function createContextRegistries(signalNotify: () => void): ContextRegistries;