export declare type TreeType = 'flat' | 'nested';
export declare type Modules = {
    packageManager: string;
    storePath: string;
    type: TreeType;
};
export declare function read(modulesPath: string): Promise<Modules | null>;
export declare function save(modulesPath: string, modules: Modules): any;
