import type { PlayerStats } from './types' /** Typed mitt payload map — sim ↔ view glue. */ export type GameEvents = { 'stats:changed': PlayerStats 'hud:hint': { text: string; interactable: boolean } 'time:tick': { minutes: number; day: number; label: string } 'player:move-input': { x: number; z: number } 'player:look-input': { yawDelta: number; pitchDelta: number } 'interact:request': undefined 'interact:done': { id: string; action: string; ok: boolean; message: string } 'save:done': { ok: boolean } 'scene:enter': { structureId: string } }