"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapImageBitmap = wrapImageBitmap;
const _1 = require("../Class/$");
function wrapImageBitmap(imageBitmap, system) {
    const stream = new (class Stream extends _1.$ {
        constructor() {
            super(...arguments);
            this.__ = ['IB'];
        }
        async imageBitmap() {
            return imageBitmap;
        }
        async image() {
            return imageBitmap;
        }
    })(system);
    return stream;
}
//# sourceMappingURL=ImageBitmap.js.map