UNPKG

533 BTypeScriptView Raw
1import type { History } from 'history';
2import type { MpaRouterConfig, SpaRouterConfig } from '../types/router';
3export * from './api';
4export * from './history';
5export { createMultiRouter } from './router/mpa';
6export { createRouter } from './router/spa';
7export * from './utils';
8export declare function handleAppMount(config: SpaRouterConfig | MpaRouterConfig, _: History, appId?: string): void;
9export declare function handleAppMountWithTabbar(config: SpaRouterConfig | MpaRouterConfig, history: History, appId?: string): void;