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