import { Input } from '../input'; import { Vector } from '../physics'; import { EngineOptions } from '../types'; import { Renderer } from './renderer'; /** * The main rendering engine that container canvas, context and all of the configuration */ export declare class Engine { canvas: HTMLCanvasElement; context: CanvasRenderingContext2D | null; renderer: Renderer; width: number; height: number; position: Vector; options: EngineOptions; input: Input; constructor(canvasElement?: HTMLCanvasElement | null, options?: EngineOptions); update: (engine: Engine, deltaTime: number) => void; start: (_engine: Engine) => void; resetEvent(): void; }