export interface FormattedCliOutput { topLevelDeps: string[]; dependencies: FlatDependenciesMap; } export declare type FlatDependenciesMap = Map; export declare type YarnInfoOutput = Array<{ value: string; children: { Version: string; Dependents?: string[]; Dependencies?: { descriptor: string; locator: string; }[]; }; }>; export interface YarnListTree { name: string; children: { name: string; color: string; shadow: boolean; }[]; hint: string | null; color: string | null; depth: number; }