// (C) 2021-2026 GoodData Corporation
import { createSlice } from "@reduxjs/toolkit";
import { renderModeReducers } from "./renderModeReducers.js";
import { renderModeInitialState } from "./renderModeState.js";
const renderModeSlice = createSlice({
    name: "renderModeSlice",
    initialState: renderModeInitialState,
    reducers: renderModeReducers,
});
export const renderModeSliceReducer = renderModeSlice.reducer;
// Spread "fixes" TS2742 error
/**
 * Actions to control renderMode state of the dashboard.
 *
 * @internal
 */
export const renderModeActions = { ...renderModeSlice.actions };
//# sourceMappingURL=index.js.map