import { type ResolvedDiffLine } from './diff-lines.js'; import type { Confidence, DiffRefs, GeneratedComment, GitLabDiscussionPayload, ReviewComment } from './types.js'; export { type ResolvedDiffLine, resolveDiffLine } from './diff-lines.js'; /** * Builds the visible body of an inline comment. * * Layout: * * * * _Confidence: ._ * * --- * * * * The confidence line sits between the reviewer's discussion and the * horizontal rule so developers can see the reviewer's certainty without * scrolling past the footer. The footer mirrors the format used in the * MR-level summary note. * * Neither the confidence line nor the footer is included in the fingerprint * hash, so comment identity (deduplication) remains stable across commits * even when the SHA in the footer changes or the reviewer revises its * confidence judgment. */ export declare function buildCommentBody(body: string, commitSha: string, confidence: Confidence): string; export declare function buildPayload(comment: ReviewComment, body: string, refs: DiffRefs, resolved?: ResolvedDiffLine | null): GitLabDiscussionPayload; export declare function buildGeneratedComments(comments: ReviewComment[], diff: string, refs: DiffRefs, existingFingerprints: Set): GeneratedComment[]; //# sourceMappingURL=payloads.d.ts.map