import { Command } from "../commands/Command"; import { CommandQueue } from "../commands/CommandQueue"; export declare class DOMEnvironment { commands: CommandQueue; _el: HTMLCanvasElement; _gfx: CanvasRenderingContext2D; _onclick: (x: number, y: number) => void; private _ctx; private _renderRequested; private _activelyRendering; private _lastRenderedAt; constructor(); emit(command: Command): void; setOnClick(handler: (x: number, y: number) => void): void; render(timestamp: number): void; private initGfx(gfx); private initTurtle(); private requestRender(); }