import type { BaseBuildMetadata } from '../types.js';
/**
 * 检测 Base Build 的构建模式
 */
export declare function detectBuildMode(baseBuildDir: string): Promise<BaseBuildMetadata>;
/**
 * 解析 Import Map 为 Vite resolve.alias
 */
export declare function importMapToAlias(importMap: Record<string, string>, baseBuildDir: string): Record<string, string>;
