// (C) 2021-2026 GoodData Corporation
import { createSlice } from "@reduxjs/toolkit";
import { uiReducers } from "./uiReducers.js";
import { uiInitialState } from "./uiState.js";
const uiSlice = createSlice({
    name: "uiSlice",
    initialState: uiInitialState,
    reducers: uiReducers,
});
export const uiSliceReducer = uiSlice.reducer;
// Spread "fixes" TS2742 error
/**
 * Actions to control ui state of the dashboard.
 *
 * @internal
 */
export const uiActions = { ...uiSlice.actions };
//# sourceMappingURL=index.js.map