import { Middleware } from "redux"; import { ObservableStore } from "../../store/ObservableStore"; import { StateArgs } from "../../reducers"; import { BaseActionFactory, ActionFactoryConstructor } from "../../actions"; /** * Shape of the factory used to build stores */ export interface MockStoreFactory { (fromState: any, storeReducer?: any, onStateChange?: Function, storeMixins?: any): ObservableStore; } export declare function configureMockStoreFactory(middlewares?: Middleware[], stateArgs?: StateArgs[], actionFactories?: Array | BaseActionFactory>): MockStoreFactory;