/** * 获取路径别名配置 * @param name 别名名称 */ export declare function getPathAlias(name: string): Promise; /** 路径别名配置项 */ export type PathAlias = { name: string; path: string; }; /** * 添加路径别名配置到 tsconfig.json */ export declare function addPathAlias(name: string, path: string): Promise; export declare function addPathAlias(alias: PathAlias[]): Promise; /** * 替换所有文件中的相对路径为路径别名 */ export declare function replacePathAlias(): Promise; /** * 为文件夹添加路径别名 */ export declare function addFolderPathAlias(): Promise;