import { configureStore, AnyAction } from '@reduxjs/toolkit'; import { LibraryReduxSlices } from './types'; export declare const libraryReducers: { share: Reducer; header: Reducer; reportsTitleBar: Reducer; inventoryReportsTitleBar: Reducer; dashboard: Reducer; formBuilder: Reducer; }; export type ReducerFn> = (state: State | undefined, action: AnyAction) => State; type ReducerMap = Record; export type ReducerManager = { getReducers: () => ReducerMap; reduce: ReducerFn; add: (key: string, reducer: ReducerFn) => void; remove: (key: string) => void; }; type ReducerInjectorStore = ReturnType & { reducerManager: ReducerManager; injectReducer: (key: string, reducer: ReducerFn) => void; removeReducer: (key: string) => void; }; export declare const createLibraryStore: (additionalReducers?: Record, apiClient?: any, middleware?: any[]) => ReducerInjectorStore; export declare const getLibrarySlices: () => LibraryReduxSlices; export type LibraryStore = ReturnType; export type LibraryRootState = ReturnType; export type LibraryDispatch = LibraryStore['dispatch']; export declare const store: LibraryStore; export declare const injectLibraryReducer: (store: LibraryStore, key: string, reducer: ReducerFn) => void; export declare const removeLibraryReducer: (store: LibraryStore, key: string) => void; export {};