"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.webChannel = webChannel;
const NOOP_1 = require("../../../../NOOP");
function webChannel(window, opt) {
    const LocalChannel = (opt) => {
        return {
            close() { },
            postMessage(message) { },
            addListener(event, callback) {
                return NOOP_1.NOOP;
            },
        };
    };
    const channel = {
        tab: LocalChannel,
        session: LocalChannel,
        local: LocalChannel,
    };
    return channel;
}
//# sourceMappingURL=channel.js.map