/** * Telemetry module — anonymizes scan results and uploads threat reports. * Only shares check IDs, severities, and categories. Never sends file paths, * descriptions, or remediation text. */ import type { ScanResult, ThreatReport } from "./types.js"; /** Stable per-machine identifier (first 16 hex chars of SHA-256 of hostname:username). */ export declare function getInstanceId(): string; /** Strip a ScanResult down to only safe-to-share metadata. */ export declare function anonymizeScanResult(result: ScanResult): ThreatReport; /** POST a ThreatReport to the community API. Never throws. */ export declare function uploadThreatReport(report: ThreatReport, apiUrl: string): Promise<{ success: boolean; error?: string; }>; //# sourceMappingURL=telemetry.d.ts.map