import { Component } from './component'; import { BaseEntity, Entity } from './entity'; import { EventBus } from '../event-bus'; import { Query } from './query'; import { System } from './system'; export declare class World { entities: Array; components: Map; componentNamesToIDs: Map; systems: Set; nextEntityID: number; nextComponentID: number; nextQueryID: number; queryCache: Array; eventBus: EventBus; constructor(); run(): void; createSystem(systemExecutor: Function): void; addSystem(system: System): void; addEntity(entity: BaseEntity): void; removeEntity(entityToRemove: BaseEntity): void; createEntity(components: Array): BaseEntity; extendEntity(entity: Entity, components: Array): BaseEntity; createComponent(component: Component): Component; query(include: Array, exclude: Array): Array; createQuery(include: Array, exclude: Array): Query; markQueriesDirty(): void; }