import Ecsy, { EcsyArgs, EcsyContext } from 'ember-ecsy-babylon/components/ecsy'; import { Entity } from 'ecsy'; import { Scene } from '@babylonjs/core/scene'; import { EngineOptions } from '@babylonjs/core/Engines/thinEngine'; import { Engine } from '@babylonjs/core/Engines/engine'; export interface EcsyBabylonContext extends EcsyContext { rootEntity: Entity; } export interface EcsyBabylonDomlessGlimmerArgs extends EcsyArgs { engineOptions?: EngineOptions; antialias?: boolean; adaptToDeviceRatio?: boolean; onReady?: (engine: Engine, scene: Scene) => void; } export default class EcsyBabylon extends Ecsy { entity: Entity; scene?: Scene; engine?: Engine; debugLayer?: any; ready: boolean; constructor(owner: unknown, args: EcsyBabylonDomlessGlimmerArgs); onCanvasReady(canvas: HTMLCanvasElement): void; resize(): void; toggleBabylonInspector(event: KeyboardEvent): Promise; willDestroy(): void; }