import { type InstructionFileSpec } from "./instruction-updates.js"; export interface InstructionUpdateManifest { files?: InstructionUpdateManifestFile[]; } export type InstructionUpdateMode = "apply" | "check" | "dry-run"; export interface InstructionUpdateManifestFile extends Omit { content?: string; contentPath?: string; } export interface InstructionApplyItem { filePath: string; blockId: string; status: "changed" | "unchanged" | "blocked"; changed: boolean; drift: boolean; missing: boolean; mode: InstructionUpdateMode; hash: string; existingHash?: string; reason: string; } export interface InstructionApplyReport { items: InstructionApplyItem[]; totals: Record; mode: InstructionUpdateMode; force: boolean; } export declare function applyInstructionUpdatesFromManifest({ root, manifestPath, check, dryRun, force, }: { root?: string; manifestPath: string; check?: boolean; dryRun?: boolean; force?: boolean; }): Promise;