/** * Surgical text-level patching for modular roadmap YAML sources. * * Roadmap reconciliation must not reserialize an authored bundle: a one-field * status change that rewrites quoting, indentation, and line wrapping obscures * review and inflates diffs (#615, #617). These helpers patch only the lines * that belong to the targeted sprint entry and leave every other byte of the * source untouched. Callers verify the result semantically before writing. */ export interface RoadmapSourceSprintTextPatch { /** New status value for the sprint entry, e.g. "complete". */ status: string; /** Scorecards map key to upsert (the stored sprint id as a string). */ scorecardKey?: string; /** Repo-relative scorecard path recorded under the key. */ scorecardPath?: string; } /** * Patch a sprint's status (and optionally its scorecards entry) in raw YAML * source text without reformatting anything else. Returns null when the * document's shape prevents a confidently surgical edit (flow-style entries, * mixed line endings, a missing or duplicated block-style `- id:` line) so the * caller can fall back to a full rewrite explicitly. */ export declare function patchRoadmapSourceSprintText(source: string, sprintId: number, patch: RoadmapSourceSprintTextPatch): string | null; //# sourceMappingURL=roadmap-source-patch.d.ts.map