/** * Internal dependencies */ import { combineReducers } from './combine-reducers'; import type { StoreDescriptor, ReduxStoreConfig } from '../types'; export { combineReducers }; /** * Creates a data store descriptor for the provided Redux store configuration containing * properties describing reducer, actions, selectors, controls and resolvers. * * @example * ```js * import { createReduxStore } from '@wordpress/data'; * * const store = createReduxStore( 'demo', { * reducer: ( state = 'OK' ) => state, * selectors: { * getValue: ( state ) => state, * }, * } ); * ``` * * @param key Unique namespace identifier. * @param options Registered store options, with properties * describing reducer, actions, selectors, * and resolvers. * * @return Store Object. */ export default function createReduxStore(key: string, options: ReduxStoreConfig): StoreDescriptor>; //# sourceMappingURL=index.d.ts.map