import type { NativePortableArchiveTransaction } from './native-portable-transactions.js'; import type { NativeProjectPaths } from './native-types.js'; /** 只用于重算旧候选摘要;不能用于执行检查或写回工作区。 */ export type NativeLegacyArchiveOverlay = ReadonlyMap; /** 原文只提供重建材料;最终必须精确匹配已保存的旧候选摘要。 */ export declare function createNativeLegacyArchiveOverlay(options: { paths: NativeProjectPaths; transaction: NativePortableArchiveTransaction; /** 调用方可提供原文备份;必须匹配原事务的目标摘要,不能覆盖其他路径。 */ originals?: ReadonlyMap; }): NativeLegacyArchiveOverlay; /** rename 后、收据落盘前,只读地把实际归档材料投影回原路径。 */ export declare function withNativeLegacyArchiveMaterials(options: { paths: NativeProjectPaths; transaction: NativePortableArchiveTransaction; overlay: NativeLegacyArchiveOverlay; }): Promise; //# sourceMappingURL=native-archive-legacy-overlay.d.ts.map