/** Replace only the `## Objective` section body with `text`. */ export declare function setObjective(raw: string, text: string): string; export interface AddAcceptanceCriterionInput { given: string; when: string; then: string; name?: string; } /** Append a sequentially-numbered `### AC-N:` block to `## Acceptance Criteria`. */ export declare function addAcceptanceCriterion(raw: string, input: AddAcceptanceCriterionInput): string; export interface AddTaskInput { files: string[]; action: string; verify: string; /** AC ids this task's `done:` line references; each must already exist in the draft. */ done: string[]; } /** * Append a sequentially-numbered `### TN:` block to `## Tasks`. Throws * (leaving `raw` unmodified) if any `done` AC id is not present among the * draft's current acceptance criteria. */ export declare function addTask(raw: string, input: AddTaskInput): string; //# sourceMappingURL=draft-mutate.d.ts.map