import type { DedupedDependencies } from './dedupe-dependencies'; import type { PackageNameIndex } from './index-by-dep-id'; /** * This is the second phase of the deduping process. * It will get the index calculated in the first phase (with dep id as key) * and will find the most intersect range for each dep and move it to the root * it will also move deps which are both dev deps and runtime deps to be runtime deps * * @param {PackageNameIndex} depIdIndex * @returns {DedupedDependencies} */ export declare function hoistDependencies(depIdIndex: PackageNameIndex, options?: { dedupePeerDependencies?: boolean; }): DedupedDependencies; export declare function isRange(version: string, compIdStr: string): boolean; export declare function getEmptyDedupedDependencies(): DedupedDependencies;