/** * Shannon entropy analysis for detecting obfuscated/encoded payloads. * * High entropy (>6.0) in source code files indicates compressed, encoded, * or obfuscated content — a common technique in supply-chain malware. */ import type { Finding } from "./types.js"; /** * Calculate Shannon entropy of a string. * Returns a value between 0 (uniform) and ~8 (random/encrypted). */ export declare function shannonEntropy(data: string): number; /** * Analyze a file's content for high-entropy indicators. */ export declare function analyzeEntropy(content: string, relativePath: string): Finding[]; //# sourceMappingURL=entropy.d.ts.map