import type { Component } from 'vue';
import type { Router } from 'vue-router';
import type { MenuTreeNode } from '../../../typings/admin/base/permission';
export type MenuRouteShell = {
    missing: Component;
    micro: Component;
};
/** 根据权限菜单动态挂载：viewPath 本地模块 / appKey 微应用（仅补新增） */
export declare function ensureMenuRoutes(router: Router, menus: MenuTreeNode[], shell: MenuRouteShell): Promise<void>;
/** 全量同步：删旧补新，菜单改名/改路由/显隐后侧栏与路由一致 */
export declare function syncMenuRoutes(router: Router, menus: MenuTreeNode[], shell: MenuRouteShell): Promise<void>;
export declare function clearMenuRoutesFlag(): void;
export declare function removeAllMenuRoutes(router: Router): void;
