import type { PlayerState } from '@quake2ts/shared'; import type { EntitySystem, SerializedEntityState, LevelState, EntitySystemSnapshot } from '../entities/index.js'; import { type SerializedPlayerInventory } from '../inventory/index.js'; import type { LevelClock } from '../level.js'; import { RandomGenerator } from '@quake2ts/shared'; import type { RandomGeneratorState } from '@quake2ts/shared'; export interface SerializedGameState { mapName: string; playerState: PlayerState; entities: SerializedEntityState[]; levelState: LevelState; time: number; playerInventory?: SerializedPlayerInventory; rngState?: RandomGeneratorState; _internalSnapshot?: EntitySystemSnapshot; } export interface AdapterContext { entitySystem: EntitySystem; levelClock: LevelClock; random?: RandomGenerator; } export declare function createSerializedGameState(context: AdapterContext): SerializedGameState; export declare function applySerializedGameState(state: SerializedGameState, context: AdapterContext): void; //# sourceMappingURL=adapter.d.ts.map