import type { XmlNode } from '../../../../../shared/common/xml.js'; import type { ReviewContextMr, ReviewContextMrDiscussion } from '../types/review-context-mr.type.js'; /** * @purpose Build XmlNode tree of the review artifact from MR and discussions. * @param mergeRequest MR object (iid, author, web_url, source_branch, title, etc.). * @param discussions Array of discussions with notes (body, author, position). * @param [showAll] Flag to show all threads, including resolved ones. * @returns Root XmlNode (tag: MR_Audit_Context). * @consumer buildReviewArtifactXml */ export declare function createReviewArtifactXmlNode(mergeRequest: ReviewContextMr, discussions: ReviewContextMrDiscussion[], showAll?: boolean): XmlNode; /** * @purpose Build review XML artifact (MR + discussions). * @param mergeRequest MR object. * @param discussions Array of discussions. * @param [showAll] Flag to show all threads, including resolved ones. * @returns XML string (MR_Audit_Context). * @consumer run-review-command.logic */ export declare function buildReviewArtifactXml(mergeRequest: ReviewContextMr, discussions: ReviewContextMrDiscussion[], showAll?: boolean): string;