import { type GlRenderer } from "./gl-renderer"; /** * Attempt to create a WebGPU-backed renderer for the given canvas. * Returns `null` if WebGPU is unavailable or initialisation fails. * The returned promise resolves to a `GlRenderer` (same interface as the * WebGL2 renderer) so callers can treat it as a drop-in replacement. */ export declare function createWebGpuRenderer(canvas: HTMLCanvasElement, /** Called once if the GPU device is lost. The renderer is unusable from that * point on — see the `device.lost` handler below. */ onLost?: () => void): Promise; //# sourceMappingURL=webgpu-renderer.d.ts.map