///
import Message, { MessageConstructor } from './message';
import ExecContext from './runtime/exec_context';
export declare type EffectMap = Map any>;
export declare const handler: import("Function/Curry").Curry<(effects: EffectMap, msg: Message) => any>;
declare const _default: import("Function/Curry").Curry<(effects: EffectMap, execContext: ExecContext, msg: Message) => any>;
/**
* Dispatches command messages.
*
* @param {Map} A map pairing command message constructors to effects handlers
* @param {Function} dispatch A container-bound dispatch function for sending
* effect results (where applicable) back to containers
* @param {Message} msg A command message to dispatch
* @return {*} returns the result of calling the effect handler
*/
export default _default;