/**
 * A collection of various Discord modules that correspond to different uses.
 * @module Modules
 * @memberof Discord
 * @namespace Discord.Modules
 */

import { getModule } from '@vizality/webpack';

/**
 * Discord's routing modules, containing navigation routing functions.
 */
export const router = {
  ...getModule('transitionTo', 'replaceWith', 'getHistory'),
  ...getModule('listeners', 'flushRoute')
};
