import { EntityIndex } from './EntityIndex'; import { ComponentRef, ComponentData } from './Component'; import { Query, QueryResult } from './Query'; import { EntityId } from './Entity'; import { type SparseSet } from './utils/SparseSet'; export declare const $internal: unique symbol; export type WorldContext = { entityIndex: EntityIndex; entityMasks: number[][]; entityComponents: Map>; bitflag: number; componentMap: Map; componentCount: number; queries: Set; queriesHashMap: Map; notQueries: Set; dirtyQueries: Set; entitiesWithRelations: Set; hierarchyData: Map; maxDepth: number; }>; hierarchyActiveRelations: Set; hierarchyQueryCache: Map; }; export type InternalWorld = { [$internal]: WorldContext; }; export type World = { [K in keyof T]: T[K]; }; export declare function createWorld(...args: Array): World; export declare const resetWorld: (world: World) => World<{}>; export declare const deleteWorld: (world: World) => void; export declare const getWorldComponents: (world: World) => any[]; export declare const getAllEntities: (world: World) => readonly EntityId[]; //# sourceMappingURL=World.d.ts.map