import type { HostContext, PackageSnapshot } from './types.js'; declare function cleanHotDir(dir: any): void; /** * 加载 Include 子类(运行时热挂载用)。Include 随 DSH 发布在 profile * node_modules 里,通过 profile 的 require 上下文解析,避免对它的显式依赖。 */ declare function loadHotTree(profileDir: string): Promise; declare function readSnapshot(): PackageSnapshot | null; declare function snapshotNames(snapshot: PackageSnapshot): Set; declare function liveEntryNames(ctx: HostContext): Set; declare function disposeLiveEntries(ctx: HostContext, packageName: string): Promise; declare function hotMount(ctx: HostContext, profileDir: string, packageName: string): Promise; declare function hotUnmount(packageName: string): Promise; export { cleanHotDir, disposeLiveEntries, hotMount, hotUnmount, liveEntryNames, loadHotTree, readSnapshot, snapshotNames, }; //# sourceMappingURL=hot-mount.d.ts.map