export default function scanImports(globPatterns: string | string[], rootDir: string): Promise;