UNPKG

514 BTypeScriptView Raw
1import { GetModuleInfo } from "rollup";
2import { ModuleLengths, ModuleTree, ModuleTreeLeaf } from "../shared/types";
3import { ModuleMapper } from "./module-mapper";
4export declare const buildTree: (bundleId: string, modules: Array<ModuleLengths & {
5 id: string;
6}>, mapper: ModuleMapper) => ModuleTree;
7export declare const mergeTrees: (trees: Array<ModuleTree | ModuleTreeLeaf>) => ModuleTree;
8export declare const addLinks: (startModuleId: string, getModuleInfo: GetModuleInfo, mapper: ModuleMapper) => void;