import type { FeedbackReport, PrivacyPreview } from './feedback-types.js'; export declare const DEFAULT_INCLUDED_SECTIONS: readonly string[]; export declare const DEFAULT_EXCLUDED_CATEGORIES: readonly string[]; /** * Build a fresh PrivacyPreview object. Each call returns new arrays so callers * may mutate the result without affecting the defaults. */ export declare function buildPrivacyPreview(redactionNotes: string[]): PrivacyPreview; /** * Build an email-ready plain-text version of a FeedbackReport. * Uses real '\n' newlines. BigInt/cycle-safe via safeStringifyPreview. */ export declare function buildEmailText(report: FeedbackReport): string; /** * Build a `mailto:` URL string for the given report and maintainer email. * * - Returns '' when `maintainerEmail` is empty or not a string. * - Subject: `[PD feedback] [${report.type}] ${report.title}` with absolute * paths redacted (matches the Subject line produced by buildEmailText). * - Body: buildEmailText(report), truncated so that the URL-encoded body * stays within MAX_MAILTO_ENCODED_BODY_LENGTH chars. When truncation * occurs, TRUNCATED_SUFFIX is appended so the recipient can see the body * was shortened. * - Subject and body are URL-encoded via encodeURIComponent. * * ERR-014/016: the encoded body is bounded so the final mailto: URL stays * within common email client limits (Outlook desktop ~2000 chars). */ export declare function buildMailtoUrl(report: FeedbackReport, maintainerEmail: string): string; //# sourceMappingURL=privacy-preview.d.ts.map