import type { Discussion } from './gitlab.js'; import type { Fingerprints, ReviewComment, Side } from './types.js'; /** * Pattern source for the hidden fingerprint marker, capturing the hash group. * Shared with the parser and prior-thread detection so the marker format is * defined in one place; each call site builds its own RegExp with the flags it * needs (the capture group is harmless when only stripping or testing). This is * a stable wire contract — see CLAUDE.md before changing it. * * Reads match BOTH the current `code-review:` prefix and the legacy * `gitlab-review:` prefix so findings posted under the old product identity are * still recognised and deduplicated after the rename. Writes emit the current * prefix (see {@link appendFingerprintMarkers}). */ export declare const FINGERPRINT_MARKER_PATTERN: string; export declare function sha256(input: string): string; export declare function normalizeBody(body: string): string; export declare function extractDiffHunkContext(diff: string, file: string, line: number, side: Side): string; export declare function fingerprints(comment: ReviewComment, hunkContext: string): Fingerprints; export declare function appendFingerprintMarkers(body: string, fp: Fingerprints): string; export declare function extractExistingFingerprints(discussions: Discussion[]): Set; //# sourceMappingURL=fingerprints.d.ts.map