import type { RoomSnapshot } from '@rapierphysicsplugin/shared'; import type { PhysicsWorld } from './physics-world/index.js'; export declare class StateManager { private lastBroadcastStates; private bodyIdToIndex; private bodyIndexToId; private nextBodyIndex; createSnapshot(world: PhysicsWorld, tick: number): RoomSnapshot; createDelta(world: PhysicsWorld, tick: number): RoomSnapshot & { isDelta: boolean; }; ensureBodyIndex(id: string): number; getBodyIndex(id: string): number | undefined; getIdToIndexMap(): Map; getIndexToIdMap(): Map; getIdToIndexRecord(): Record; removeBody(id: string): void; clear(): void; } //# sourceMappingURL=state-manager.d.ts.map