import type { ViewLoader, ViewsTreeNode } from '../../../typings/admin/vome/module';
/** 视图重扫事件：保存 views 触发 HMR 后派发，选择器监听刷新 */
export declare const VIEWS_RESCAN_EVENT = "vome:views-rescan";
/** 宿主注册业务视图 glob（包内无法扫描宿主 modules） */
export declare function registerViews(files: Record<string, () => Promise<{
    default: import('vue').Component;
}>>): void;
/** 解析菜单 viewPath，如 modules/base/views/menu */
export declare function resolveView(viewPath: string | null | undefined): ViewLoader | undefined;
/**
 * viewPath → 页面组件 name
 * modules/base/views/role → base-role
 * modules/user/views/info → user-info
 */
export declare function viewPathToName(viewPath: string | null | undefined): string | undefined;
export declare function listViews(): string[];
/**
 * 将扁平 viewPath 建成多列树（展示从 modules/ 后分段）
 * modules/base/views/menu → base > views > menu
 */
export declare function listViewsTree(): ViewsTreeNode[];
