import { AbstractEngine } from '@babylonjs/core'; import { GameCanvas, RenderEngineOptions } from "../interfaces/game.d.ts"; /** * Creates an appropriate engine based on the provided canvas and options. * Passing null for canvas creates a NullEngine. Otherwise auto-detects WebGPU with WebGL fallback, * unless a specific engine type is forced via `options.engine`. * * @param canvas - Pass null to get a NullEngine (headless/testing) * @param options */ export declare function createEngine(canvas: GameCanvas | null, options: RenderEngineOptions, largeWorldRendering?: boolean): Promise;