export declare function patchModules(rootDir: string, ignoredPackages?: string[]): Promise;