import type { RuleModule } from '../../types'; /** * Validate that all packages use strong integrity hashes (SHA512). * Weak hash algorithms like SHA1 and SHA256 are more susceptible to * collision attacks, potentially allowing attackers to substitute * malicious packages that match the same hash. * * Options: * - requiredAlgorithm: The minimum required hash algorithm (default: 'sha512') * - exclude: Array of package names to exclude from validation * * Example config: * ```ts * pluginRules: { * 'lockfile/validate-integrity': ['error', { requiredAlgorithm: 'sha512', exclude: [] }] * } * ``` */ export declare const validateIntegrity: RuleModule;