import { LinkedPackagesMap } from '.';
export declare type DependencyTreeNode = {
    name: string;
    hasBundledDependencies: boolean;
    path: string;
    modules: string;
    peerModules?: string;
    fetchingFiles: Promise<boolean>;
    hardlinkedLocation: string;
    children: string[];
    resolvedPeers: string[];
    depth: number;
    id: string;
};
export declare type DependencyTreeNodeMap = {
    [nodeId: string]: DependencyTreeNode;
};
export default function (pkgsMap: LinkedPackagesMap, topPkgIds: string[]): DependencyTreeNodeMap;
