/** Fallback bucket for reports with no area. */ export declare const FEEDBACK_FINGERPRINT_DEFAULT_AREA = "general"; /** Max length of the normalized title used for hashing (bounds input). */ export declare const FEEDBACK_FINGERPRINT_TITLE_LIMIT = 80; /** * Normalize a title for fingerprinting: * - lowercase * - remove punctuation (non-alphanumeric/non-CJK replaced by nothing) * - collapse whitespace runs to a single space * - trim, then truncate to FEEDBACK_FINGERPRINT_TITLE_LIMIT chars * * Kept CJK-safe: CJK ideographs are matched by /[^\w\u4e00-\u9fff]/g below. * '/\w/' in JS covers Latin letters/digits/underscore; we explicitly keep * the CJK range so Chinese titles are not gutted. */ export declare function normalizeFeedbackTitle(value: string): string; /** * Compute the sha256 hex fingerprint for a feedback report. * * fingerprint = sha256hex(`${type}|${area ?? general}|${normalizedTitle}`) * * Derived from a SHA-256 hash of normalized, content-derived values — a * Unicode NFC normalization could alter the hash for visually identical * strings, but for dedup purposes minor form differences are acceptable. */ export declare function computeFeedbackFingerprint(args: { type: string; title: string; area?: string; }): string; //# sourceMappingURL=fingerprint.d.ts.map