export declare type SizeKey = "renderedLength" | "gzipLength" | "brotliLength"; export declare const isModuleTree: (mod: ModuleTree | ModuleTreeLeaf) => mod is ModuleTree; export declare type ModuleUID = string; export declare type BundleId = string; export interface ModuleTreeLeaf { name: string; uid: ModuleUID; } export interface ModuleTree { name: string; children: Array; } export declare type ModulePart = { mainUid: ModuleUID; } & ModuleLengths; export declare type ModuleImport = { uid: ModuleUID; dynamic?: boolean; }; export declare type ModuleMeta = { moduleParts: Record; importedBy: ModuleImport[]; imported: ModuleImport[]; isEntry?: boolean; isExternal?: boolean; id: string; }; export interface ModuleLengths { renderedLength: number; } export interface VisualizerData { tree: ModuleTree; nodeParts: Record; nodeMetas: Record; }