import { InstalledPackage } from './installMultiple';
import { Graph } from '../fs/graphController';
export default function flattenDependencies(id: string, store: string, pkgs: InstalledPackage[], graph: Graph): Promise<void>;
export declare type FlatTree = {
    [id: string]: DepResolutionAndDeps;
};
export declare type DepResolutionAndDeps = {
    [depname: string]: {
        id: string;
        depth: number;
    };
};
