import type { PathLinuxRelative } from '@teambit/toolbox.path.path'; /** * Process absolute path and return a shorter one. * @param {String} absPath * @param {Object} cache * @param {String} baseDir * @return {String} */ export declare function processPath(absPath: any, cache: any, baseDir: any): any; export type MadgeTree = { [relativePath: string]: PathLinuxRelative[]; }; export type Missing = { [absolutePath: string]: string[]; }; type GenerateTreeResults = { madgeTree: MadgeTree; skipped: Missing; pathMap: any; errors: { [filePath: string]: Error; }; }; /** * Generate the tree from the given files * @param {Array} files * @param config * @return {Object} */ export default function generateTree(files: string[] | undefined, config: any): Promise; export {};