import { type ReconcileChange, type ApplyChangesResult } from '../../types/index.js';
export type { ApplyChangesResult, SkippedChange } from '../../types/index.js';
/**
 * Apply approved text changes to the spec.md body.
 *
 * For each non-metadata approved change:
 * 1. Locate the named section's body via heading anchor.
 * 2. Require exactly one occurrence of `originalValue` inside that section.
 * 3. Replace it in-place at the resolved absolute offset.
 *
 * Skips (with reason) when the section heading is absent, the value is missing
 * inside the section, or the value appears multiple times (ambiguous match).
 * Writes only when at least one substitution succeeded.
 */
export declare function applyChangesToSpec(specPath: string, changes: ReconcileChange[]): Promise<ApplyChangesResult>;
//# sourceMappingURL=apply-changes.d.ts.map