/** * Generate alias dts file by removing some needless interfaces. * Replace original file at present, which will cause type pollution, looking for better solution * @param {string} workDir - the dir containing the module to be parsed * @returns {string} - the path of generated xxx.d.ts */ export default function generateDTS({ workDir, dslType, }: { workDir: string; dslType?: string; }): { originalTypePath: string; newTypePath: string; };