import { HTMLImageElement } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";
The decode() method of the HTMLImageElement interface returns a Promise that resolves when the image is decoded and it is safe to append the image to the DOM.