export type PatchEntry = { type: 'decision'; decision: string; rationale?: string; source?: string; } | { type: 'exception'; ref: string; exception: string; } | { type: 'invariant'; invariant: string; rationale?: string; } | { type: 'boundary'; boundary: string; rationale?: string; }; export interface ConstitutionPatch { patches: PatchEntry[]; } export interface PatchResult { decisionsAdded: number; decisionsSkipped: number; exceptionsAdded: number; invariantsAdded: number; invariantsSkipped: number; boundariesAdded: number; boundariesSkipped: number; versionBefore: number; versionAfter: number; } export declare function applyPatch(constitutionPath: string, patch: ConstitutionPatch): PatchResult; //# sourceMappingURL=patcher.d.ts.map