Environment: FileSystem & { Canvas: typeof HTMLCanvasElement; CanvasRenderingContext2D: typeof CanvasRenderingContext2D; createCanvasElement: (() => HTMLCanvasElement); createImageElement: (() => HTMLImageElement); createVideoElement: (() => HTMLVideoElement); fetch: ((url: string,
init?: RequestInit) => Promise<Response>); Image: typeof HTMLImageElement; ImageData: typeof ImageData; Video: typeof HTMLVideoElement; }