import { ECSContext } from "./ecs"; import { ArchetypeBundle } from "../modules/archetype"; export type ArchetypeRef = string | ArchetypeBundle; /** * Restore all deferred entity references after all entities have been spawned * This should be called by initializeWorld after spawning all entities * @param ctx ECS context */ export declare function restoreDeferredEntityReferences(ctx: ECSContext): void; export declare function spawn(ctx: ECSContext, ref: ArchetypeRef, overrides?: Record): number; export declare function applyBundle(ctx: ECSContext, eid: number, bundle: Record): void; //# sourceMappingURL=spawn.d.ts.map