import { Command } from './Command';
import { CommandType } from './create';
import { ComposedCommand, IDeclaredMap } from './type';
/**
 * 构建一个组合了其他 Command 的结构（本质依然是一个 Command）
 */
declare function compose<M extends IDeclaredMap<CommandType> = IDeclaredMap<CommandType>>(declaredMap: M): ComposedCommand<Command, CommandType, M>;
export { compose };
