"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.webWindow = void 0;
function webWindow(window, opt) {
    const _window = {
        // @ts-ignore
        AudioContext: window.AudioContext,
        // @ts-ignore
        OscillatorNode: window.OscillatorNode,
        // @ts-ignore
        GainNode: window.GainNode,
        // @ts-ignore
        AnalyserNode: window.AnalyserNode,
        // @ts-ignore
        MediaStreamAudioSourceNode: window.MediaStreamAudioSourceNode,
        // @ts-ignore
        DelayNode: window.DelayNode,
        // @ts-ignore
        ImageCapture: window.ImageCapture,
        // @ts-ignore
        CompressionStream: window.CompressionStream,
        // @ts-ignore
        DecompressionStream: window.DecompressionStream,
        // @ts-ignore
        ReadableStream: window.ReadableStream,
        open(url, target, features) {
            return window.open(url, target, features);
        },
        getComputedStyle(element) {
            return window.getComputedStyle(element);
        },
    };
    return _window;
}
exports.webWindow = webWindow;
//# sourceMappingURL=window.js.map