/**
 * Sanitized bug report for the error-outro recovery launchpad.
 *
 * Writes a short, shareable support report to `<tmpdir>/amplitude-bug-report.txt`.
 * Passes every string through the observability redactor so API keys,
 * tokens, and user-typed secrets are stripped before the user pastes the
 * report into a support channel.
 *
 * Intentionally small — the diagnostic dump (`crash-dump.ts`) carries the
 * full state. This is the quick-copy companion users actually paste.
 */
export interface BugReportInputs {
    /** Terminal-visible error message from the outro, if any. */
    errorMessage?: string | null;
    /** Framework that was being set up. */
    integration?: string | null;
}
/** Path the bug report is written to on success. */
export declare function bugReportPath(): string;
/** Build the sanitized report body. Pure — no I/O. Exported for tests. */
export declare function buildBugReportBody(inputs?: BugReportInputs): string;
/**
 * Write the sanitized bug report to a temp file.
 * Non-throwing — returns null on failure so the caller can surface a
 * friendly message instead of crashing the outro.
 */
export declare function writeBugReport(inputs?: BugReportInputs): string | null;
