/** * Sanitize findings before JSON serialization or upload. * Policy: Finding objects must NEVER contain secret values. * Only metadata about secrets (length, entropy score, masked preview). */ import type { Finding } from "./types.js"; /** * Sanitize all findings in an array. * Call this before any JSON.stringify() or upload operation. */ export declare function sanitizeFindings(findings: Finding[]): Finding[]; /** * Redact file paths from findings for safe sharing. * Replaces full paths with just the filename or a generic placeholder. */ export declare function redactPaths(findings: Finding[]): Finding[]; //# sourceMappingURL=sanitize.d.ts.map