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