/** * 将路由写入路由文件 * @param {*} newRoute 新的路由配置: { path, component, ... } * @param {*} configPath 配置路径 * @param {*} absSrcPath 代码路径 */ export declare function writeNewRoute(newRoute: any, configPath: any, absSrcPath: any): void; /** * 获取目标 * @param {*} configPath * @param {*} newRoute */ export declare function getNewRouteCode(configPath: any, newRoute: any, absSrcPath: any): any; /** * 写入节点 * @param {*} node 找到的节点 * @param {*} newRoute 新的路由配置 */ export declare function writeRouteNode(targetNode: any, newRoute: any, currentPath?: string): any;