import { type DenonEventType } from "https://deno.land/x/denon@2.5.0/denon.ts";
Events you can listen to when creating a denon
instance as module:
const denon = new Denon(config);
for await (const event of denon.run(script)) {
// event handling here
}