export interface Entity extends HTMLElement { components: any; addComponent: (component: any) => {}; } export declare class EntityMgr { static entityTag: string; static getDefaultComponent: any; static hasNewMember: boolean; static create(name?: string, pure?: boolean): Entity; static cloneMethods: {}; static clone(entity: Entity): Entity; static find(selector: string, root?: any): Entity[]; static getComponents(componentName: string, root?: any): T[]; static getEntites(deps: string[], root?: any): Entity[]; static addComponent(entity: Entity, component: any): any; }