import { StoreInterface } from './StoreInterface'; import { CreateStoreClassOptions } from './StoreClass'; import { StoreReducer } from './Reducer'; import { StoreInstance } from './StoreInstance'; import { AnyMessage } from './Messages'; import { StoreState } from './State'; export declare type Middleware = (storeInstance: StoreInstance) => (next: MiddlewareNext) => MiddlewareNext; declare type MiddlewareNext = (message: AnyMessage) => StoreState; export declare function createExecuteMiddleware(options: CreateStoreClassOptions, storeInstance: StoreInstance, reducer: StoreReducer): (action: any) => any; export {};