"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Layout = void 0;
const store_1 = require("../store/store");
const roomSlice_1 = require("../store/roomSlice");
var Layout;
(function (Layout) {
    Layout["MULTI"] = "multi";
    Layout["MULTI_ALTERNATE"] = "multi_alternate";
    Layout["HIGHLIGHTED"] = "highlighted";
    Layout["SINGLE"] = "single";
})(Layout = exports.Layout || (exports.Layout = {}));
class DyteGrid {
    constructor() {
        this.layouts = Layout;
    }
    update(gridConfig) {
        if (gridConfig.layout) {
            store_1.store.dispatch(roomSlice_1.setRoomGridView(gridConfig.layout));
        }
        if (gridConfig.participantVideo) {
            this.participantVideoConfiguration = gridConfig.participantVideo;
        }
    }
    setOverlay(element, timeout) {
    }
}
exports.default = DyteGrid;
//# sourceMappingURL=DyteGrid.js.map