import { AnyAction, Dispatch, MiddlewareAPI } from 'redux'; import { ClientGatewayInterface } from '../../Gateway/ClientGatewayInterface'; export declare function commandMiddleware(gateway: ClientGatewayInterface): (api: MiddlewareAPI) => (next: D) => (action: Action) => any;