/** * Secret detection: high-signal provider token patterns plus a * generic high-entropy fallback. Kept conservative to limit false positives. */ export interface SecretMatch { readonly kind: string; readonly match: string; } /** Shannon entropy in bits/char. */ export declare function shannonEntropy(input: string): number; /** A long, high-entropy, machine-charset token is a likely secret even without a known prefix. */ export declare function looksHighEntropy(token: string): boolean; /** Find secrets in an arbitrary text blob. Returns redacted evidence. */ export declare function detectSecrets(text: string): SecretMatch[];