import { store } from '../store/store';
import { setRoomGridView } from '../store/roomSlice';
export var Layout;
(function (Layout) {
    Layout["MULTI"] = "multi";
    Layout["MULTI_ALTERNATE"] = "multi_alternate";
    Layout["HIGHLIGHTED"] = "highlighted";
    Layout["SINGLE"] = "single";
})(Layout || (Layout = {}));
export default class DyteGrid {
    constructor() {
        this.layouts = Layout;
    }
    update(gridConfig) {
        if (gridConfig.layout) {
            store.dispatch(setRoomGridView(gridConfig.layout));
        }
        if (gridConfig.participantVideo) {
            this.participantVideoConfiguration = gridConfig.participantVideo;
        }
    }
    setOverlay(element, timeout) {
    }
}
//# sourceMappingURL=DyteGrid.js.map