import { System } from '@lastolivegames/becsy'; import { GPUResource } from '../components'; /** * Usually the first built-in system to run. * It will create a new device and swap chain for each canvas. */ export declare class SetupDevice extends System { #private; private readonly canvases; constructor(); private addGPUResource; getOffscreenGPUResource(): GPUResource; /** * Resize the offscreen canvas for partial export (e.g. export selected nodes to PNG). * Call with desired output dimensions in pixels (for 1:1 export use logical width/height). */ resizeOffscreen(pixelWidth: number, pixelHeight: number): void; execute(): void; finalize(): void; private createGPUResource; private destroyCanvas; }